]> jfr.im git - erebus.git/blobdiff - modules/modtest.py
Added a few module featuresm depends needs testing!
[erebus.git] / modules / modtest.py
index 928a834ec5713c30fd48f63ed86a7c4e80a0f4ed..75417e3f521b910c7b2db14db9165c6b9978001f 100644 (file)
@@ -1,10 +1,18 @@
+# module info
+modinfo = {
+       'author': 'John Runyon (DimeCadmium)',
+       'license': 'public domain',
+       'compatible': [1], # compatible module API versions
+       'depends': [], # other modules required to work properly?
+}
+
 # preamble
 import modlib
 lib = modlib.modlib(__name__)
 modstart = lib.modstart
 modstop = lib.modstop
 
-#module code
+# module code
 @lib.hook('test')
 def cmd_test(bot, user, chan, *args):
        bot.msg(chan, "You said: !test %s" % (' '.join([str(arg) for arg in args])))