]> jfr.im git - erebus.git/commitdiff
add exit alias for !die
authorJohn Runyon <redacted>
Mon, 18 Dec 2023 19:47:00 +0000 (12:47 -0700)
committerJohn Runyon <redacted>
Mon, 18 Dec 2023 19:47:00 +0000 (12:47 -0700)
modules/control.py

index 58f2d94b5e6a747f17555b72bc9c0b2ea2df5ef9..693770dd47821a2c9b34dce8d4fd51b370ef6c7e 100644 (file)
@@ -24,7 +24,7 @@ import ctlmod
 from collections import deque
 
 
-@lib.hook(('die','restart'), needchan=False, glevel=lib.MANAGER)
+@lib.hook(('die','restart','exit'), needchan=False, glevel=lib.MANAGER)
 @lib.help(None, "stops the bot")
 def die(bot, user, chan, realtarget, *args):
        quitmsg = ' '.join(args)