5c6c0839 JR |
1 | # preamble |
2 | import modlib |
3 | lib = modlib.modlib(__name__) |
4 | modstart = lib.modstart |
5 | |
6 | #module code |
7 | @lib.hook('test') |
8 | def cmd_test(bot, user, chan, *args): |
9 | bot.msg(chan, "You said: !test %s" % (' '.join([str(arg) for arg in args]))) |