diff options
author | 2021-05-16 22:11:23 +0530 | |
---|---|---|
committer | 2021-05-16 22:11:23 +0530 | |
commit | 24219ed346593273f9778fc3b835dc0ca2e88cca (patch) | |
tree | 4f839b20d7336e751a982de50ca239bec614f3b6 /bot/utils/decorators.py | |
parent | squish imports (diff) | |
parent | Merge branch 'main' into feature/stackoverflow (diff) |
Update branch
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." |