aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar NIRDERIi <[email protected]>2021-07-20 09:44:23 +0300
committerGravatar GitHub <[email protected]>2021-07-20 09:44:23 +0300
commitf848dafef496e75e73160d47983a9c78ac3f7cdf (patch)
tree866a8d233f42ce1d7922ca96ea77c81a59ebaa42
parentMerge pull request #1610 from python-discord/fix/float-tag-typo (diff)
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 4c39a7c2a..fce767d84 100644
--- a/bot/exts/utils/utils.py
+++ b/bot/exts/utils/utils.py
@@ -49,7 +49,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)