From: John Runyon Date: Sat, 2 Mar 2024 16:20:28 +0000 (-0700) Subject: admin_channel -> channel_admin, add fclevel alias X-Git-Url: https://jfr.im/git/erebus.git/commitdiff_plain/39b26b08ecaa02426b603010a8445c3064faff91 admin_channel -> channel_admin, add fclevel alias --- diff --git a/modules/admin_channel.py b/modules/channel_admin.py similarity index 98% rename from modules/admin_channel.py rename to modules/channel_admin.py index 2899f02..c0d5dc8 100644 --- a/modules/admin_channel.py +++ b/modules/channel_admin.py @@ -79,7 +79,7 @@ def clevel(bot, user, chan, realtarget, *args): return "Set #%s channel level to %s" % (target.auth, args[1]) -@lib.hook(glevel=lib.MANAGER) +@lib.hook(('forceclevel','fclevel'), glevel=lib.MANAGER) @lib.help('', "sets your own clevel on a channel") @lib.argsEQ(1) def forceclevel(bot, user, chan, realtarget, *args):