mads.bots

bot classes.

class Bot(*args, **kwargs)[source]

Bases: mads.engine.Engine

MADS config bot class.

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

print text on joined channels.

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

connect to server.

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

virtual method returning a event from the bot.

exit()[source]
id()[source]
join(channel)[source]

join a channel.

joinall()[source]

join all channels.

prompt(colors=False)[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]