X-Git-Url: https://jfr.im/git/erebus.git/blobdiff_plain/5f03d045cd465491760668b3e34453ae6a50034b..f717c85633876497545e003d2aa3041b5dd07f19:/modules/sms.py diff --git a/modules/sms.py b/modules/sms.py index 80f5fb9..16077a3 100644 --- a/modules/sms.py +++ b/modules/sms.py @@ -1,13 +1,14 @@ # Erebus IRC bot - Author: Erebus Team -# simple module example +# twilio sms module # This file is released into the public domain; see http://unlicense.org/ # module info modinfo = { 'author': 'Erebus Team', 'license': 'public domain', - 'compatible': [1], # compatible module API versions - 'depends': [], # other modules required to work properly? + 'compatible': [1,2], + 'depends': [], + 'softdeps': ['help'], } # preamble @@ -26,9 +27,9 @@ def client(bot): ) -#@lib.hook(needchan=False, glevel=lib.MANAGER) +@lib.hook(needchan=False, glevel=lib.MANAGER) def reply(bot, user, chan, realtarget, *args): - return NotImplemented + raise NotImplementedError @lib.hook(('sms','w'), needchan=False, glevel=lib.OWNER) @lib.help(" ", "send an SMS")