diff options
author | 2021-05-16 22:09:19 +0530 | |
---|---|---|
committer | 2021-05-16 22:09:19 +0530 | |
commit | ab3cf464883d30c5191e3b40328ead90dc518d12 (patch) | |
tree | f46d89e35f8fa651a98ea4427f20962145fe91ed /bot/utils/decorators.py | |
parent | add check for statistics (diff) | |
parent | Spring cleanup (#718) (diff) |
Merge branch 'main' into feature/stackoverflow
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." |