aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-07-20 08:55:00 +0200
committerGravatar GitHub <[email protected]>2021-07-20 08:55:00 +0200
commit2414d159c8c524dd04519ed1d63745cbdc887953 (patch)
tree127d5a27e18175f1ff60242c1a61f9a2c05b23b7
parentfeat: add for-else tag (#1643) (diff)
parentMerge branch 'main' into main (diff)
Merge pull request #1685 from NIRDERIi/main
Enabled charinfo for discord_py channel.
-rw-r--r--bot/exts/utils/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utils/utils.py b/bot/exts/utils/utils.py
index 3b8564aee..dc3b3f976 100644
--- a/bot/exts/utils/utils.py
+++ b/bot/exts/utils/utils.py
@@ -50,7 +50,7 @@ class Utils(Cog):
self.bot = bot
@command()
- @in_whitelist(channels=(Channels.bot_commands,), roles=STAFF_ROLES)
+ @in_whitelist(channels=(Channels.bot_commands, Channels.discord_py), roles=STAFF_ROLES)
async def charinfo(self, ctx: Context, *, characters: str) -> None:
"""Shows you information on up to 50 unicode characters."""
match = re.match(r"<(a?):(\w+):(\d+)>", characters)