From: John Runyon Date: Wed, 28 Feb 2024 08:39:58 +0000 (-0700) Subject: bashorg - add aliases bashorg and bash.org X-Git-Url: https://jfr.im/git/erebus.git/commitdiff_plain/3922c2d3c9b1c8253618372ba024e449a6a6f4d2 bashorg - add aliases bashorg and bash.org --- diff --git a/modules/bashorg.py b/modules/bashorg.py index 457ecb3..68b945b 100644 --- a/modules/bashorg.py +++ b/modules/bashorg.py @@ -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('[]', 'gives you a bash.org quote') def bash(bot, user, chan, realtarget, *args): path = bot.parent.cfg.get('bashorg', 'path')