aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Izan <[email protected]>2021-08-24 16:07:00 +0100
committerGravatar Izan <[email protected]>2021-08-24 16:41:47 +0100
commit5be8cd1ad40fcaaa8e7bdbfc7a0619aceca2660e (patch)
tree05f92dbbe7aa898ff4ab6d007c5bb468bffe9b26
parentAllow partners & members of the python community to use `!role` and `!roles` (diff)
Allow partners & members of the python community to bypass cooldown and use `!raw` in any channel
-rw-r--r--bot/exts/info/information.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/info/information.py b/bot/exts/info/information.py
index f13567d02..664b6cb13 100644
--- a/bot/exts/info/information.py
+++ b/bot/exts/info/information.py
@@ -453,9 +453,9 @@ class Information(Cog):
# remove trailing whitespace
return out.rstrip()
- @cooldown_with_role_bypass(2, 60 * 3, BucketType.member, bypass_roles=constants.STAFF_ROLES)
+ @cooldown_with_role_bypass(2, 60 * 3, BucketType.member, bypass_roles=constants.STAFF_PARTNERS_COMMUNITY_ROLES)
@group(invoke_without_command=True)
- @in_whitelist(channels=(constants.Channels.bot_commands,), roles=constants.STAFF_ROLES)
+ @in_whitelist(channels=(constants.Channels.bot_commands,), roles=constants.STAFF_PARTNERS_COMMUNITY_ROLES)
async def raw(self, ctx: Context, *, message: Message, json: bool = False) -> None:
"""Shows information about the raw API response."""
if ctx.author not in message.channel.members: