]> jfr.im git - erebus.git/commitdiff
bashorg - add aliases bashorg and bash.org
authorJohn Runyon <redacted>
Wed, 28 Feb 2024 08:39:58 +0000 (01:39 -0700)
committerJohn Runyon <redacted>
Wed, 28 Feb 2024 08:39:58 +0000 (01:39 -0700)
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')