aboutsummaryrefslogtreecommitdiffstats
path: root/bot/utils/decorators.py
diff options
context:
space:
mode:
authorGravatar Vivaan <[email protected]>2021-05-16 22:09:19 +0530
committerGravatar GitHub <[email protected]>2021-05-16 22:09:19 +0530
commitab3cf464883d30c5191e3b40328ead90dc518d12 (patch)
treef46d89e35f8fa651a98ea4427f20962145fe91ed /bot/utils/decorators.py
parentadd check for statistics (diff)
parentSpring cleanup (#718) (diff)
Merge branch 'main' into feature/stackoverflow
Diffstat (limited to 'bot/utils/decorators.py')
-rw-r--r--bot/utils/decorators.py2
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."