This module provide a command to start a DCC CHAT with the bot and extend it
with CHAT commands.
CHAT Commands
Adding new commands:
>>> @dcc_command
... def echo(bot, mask, client, args):
... '''echo command
... %%echo <words>...
... '''
... yield ' '.join(args['words'])
bot is the bot instance. mask is the irc mask of the user connected via dcc.
client is an instance of DCCChat
API
-
irc3.plugins.dcc.
dcc_command
(*func, **predicates)[source]
DCC CHAT command decorator
-
class
irc3.plugins.dcc.
Commands
(context)[source]
DCC CHAT commands plugin
-
chat
(mask, *args)[source]
DCC CHAT
%%chat
-
help
(*args)[source]
Show help
%%help [<cmd>]