]> jfr.im git - erebus.git/blobdiff - modules/bashorg.py
bashorg - add aliases bashorg and bash.org
[erebus.git] / modules / bashorg.py
index 457ecb36222a1867fc423eb714751ab3483c1fb7..68b945b4ea03e4be3834a7154b38fedeca299294 100644 (file)
@@ -31,7 +31,7 @@ modstop = lib.modstop
 # module code
 import os, random
 
-@lib.hook(needchan=False, wantchan=True)
+@lib.hook(('bash','bashorg','bash.org'), needchan=False, wantchan=True)
 @lib.help('[<number>]', 'gives you a bash.org quote')
 def bash(bot, user, chan, realtarget, *args):
        path = bot.parent.cfg.get('bashorg', 'path')