X-Git-Url: https://jfr.im/git/erebus.git/blobdiff_plain/8af0407d500b8e27e8f3628f1083be30b6d2cf75..d431e54309841dcdb50d440e440234200d0de2fc:/modules/modtest.py diff --git a/modules/modtest.py b/modules/modtest.py deleted file mode 100644 index f2f96d2..0000000 --- a/modules/modtest.py +++ /dev/null @@ -1,22 +0,0 @@ -# Erebus IRC bot - Author: John Runyon -# simple module example -# This file is released into the public domain; see http://unlicense.org/ - -# 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 -@lib.hook('test') -def cmd_test(bot, user, chan, realtarget, *args): - bot.msg(chan, "You said: !test %s" % (' '.join([str(arg) for arg in args])))