X-Git-Url: https://jfr.im/git/erebus.git/blobdiff_plain/f4bab9d78b7fc5f8154bf1d457d5b40326fe5a9c..ebee6edb6729b438ddd10021bd2e21145354e1ab:/modules/foo.py diff --git a/modules/foo.py b/modules/foo.py index fbcb38c..8063afb 100644 --- a/modules/foo.py +++ b/modules/foo.py @@ -1,10 +1,10 @@ -# Erebus IRC bot - Author: John Runyon +# Erebus IRC bot - Author: Erebus Team # simple module example # This file is released into the public domain; see http://unlicense.org/ # module info modinfo = { - 'author': 'John Runyon (DimeCadmium)', + 'author': 'Erebus Team', 'license': 'public domain', 'compatible': [1], # compatible module API versions 'depends': [], # other modules required to work properly? @@ -19,8 +19,6 @@ modstop = lib.modstop # module code @lib.hook('test', needchan=False) def cmd_gtest(bot, user, chan, realtarget, *args): - print type(chan), repr(chan), str(chan) - if chan is not None: replyto = chan else: replyto = user