]> jfr.im git - erebus.git/commitdiff
!rejoin - tell user which channel was rejoined
authorJohn Runyon <redacted>
Thu, 16 Nov 2023 19:10:55 +0000 (12:10 -0700)
committerJohn Runyon <redacted>
Thu, 16 Nov 2023 19:10:55 +0000 (12:10 -0700)
modules/admin_channel.py

index 91e65c0d3f515ac58585959dd3b3afd0521ea57a..2899f02aa367174e255f1344c5bfd1c8c3f1dc3b 100644 (file)
@@ -29,7 +29,7 @@ modstop = lib.modstop
 @lib.help(None, "rejoin a channel (if the bot has been kicked)")
 def rejoin(bot, user, chan, realtarget, *args):
        bot.join(str(chan))
-       bot.msg(user, "Rejoined.")
+       bot.msg(user, "Rejoined %s." % (chan))
 
 
 def _resolve_user(s):