diff options
author | 2021-05-15 23:41:20 +0200 | |
---|---|---|
committer | 2021-05-15 23:41:20 +0200 | |
commit | e6e280cd13236647ffcaa35f522baeb747fbf97e (patch) | |
tree | a888762bcd97704f57ad33e8e1bd0d179c3abd2b /bot/utils/decorators.py | |
parent | Merge pull request #737 from python-discord/latex-don't-load-cog (diff) | |
parent | chore: Apply Iceman's suggestions (diff) |
Spring cleanup (#718)
This PR changes a ton of various different bits and pieces. Please see #718 for more information.
Diffstat (limited to 'bot/utils/decorators.py')
-rw-r--r-- | bot/utils/decorators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/utils/decorators.py b/bot/utils/decorators.py index 60066dc4..c0783144 100644 --- a/bot/utils/decorators.py +++ b/bot/utils/decorators.py @@ -269,7 +269,7 @@ def whitelist_check(**default_kwargs: t.Container[int]) -> t.Callable[[Context], channels.update(channel.id for channel in category.text_channels) if channels: - channels_str = ', '.join(f"<#{c_id}>" for c_id in channels) + channels_str = ", ".join(f"<#{c_id}>" for c_id in channels) message = f"Sorry, but you may only use this command within {channels_str}." else: message = "Sorry, but you may not use this command." |