Allow fun commands to be used in #bot-cmds
This commit is contained in:
parent
c1b1d73f6a
commit
707b77e0d2
1 changed files with 2 additions and 1 deletions
|
@ -17,5 +17,6 @@ def check_if_staff_or_ot(ctx):
|
|||
if not ctx.guild:
|
||||
return True
|
||||
is_ot = (ctx.channel.name == "off-topic")
|
||||
is_bot_cmds = (ctx.channel.name == "bot-cmds")
|
||||
is_staff = any(r.id in config.staff_role_ids for r in ctx.author.roles)
|
||||
return (is_ot or is_staff)
|
||||
return (is_ot or is_staff or is_bot_cmds)
|
||||
|
|
Loading…
Reference in a new issue