X-Git-Url: https://jfr.im/git/erebus.git/blobdiff_plain/fa93b93394adc45f4b3bd1694c960df127cfc4da..467acacf99ab52ad53af0fc9e95b5be4ca304ea8:/modules/foo.py diff --git a/modules/foo.py b/modules/foo.py index 0171182..f6e430c 100644 --- a/modules/foo.py +++ b/modules/foo.py @@ -1,4 +1,5 @@ # Erebus IRC bot - Author: Erebus Team +# vim: fileencoding=utf-8 # simple module example # This file is released into the public domain; see http://unlicense.org/ @@ -43,6 +44,7 @@ def needchan(bot, user, chan, realtarget, *args): @lib.hook(needchan=False, wantchan=True) @lib.help(None, 'a command which will consume a channel if given') +def wantchan(bot, user, chan, realtarget, *args): if chan is not None: bot.msg(user, "Channel provided: %s" % (chan)) else: