botlib.bot

bot classes.

Exceptions

ENOTIMPLEMENTED method or function is not implemented.
class Bot(*args, **kwargs)[source]

Bases: botlib.engine.Engine

main bot class.

>>> from botlib.bot import Bot
>>> bot = Bot()
>>> bot.connect()
announce(txt)[source]

print text on joined channels.

connect(*args, **kwargs)[source]

connect to server.

event(*args, **kwargs)[source]

virtual method returning a event from the bot.

exit()[source]
id(*args, **kwargs)[source]
join(channel)[source]

join a channel.

joinall()[source]

join all channels.

out(channel, txt)[source]
prompt()[source]

echo prompt to sys.stdout.

raw(txt)[source]

send txt to server.

say(channel, txt)[source]

say something on a channel.

start(*args, **kwargs)[source]
cc = ''