aboutsummaryrefslogtreecommitdiffstats
path: root/bot/utils/decorators.py
diff options
context:
space:
mode:
authorGravatar Objectivitix <[email protected]>2021-05-16 15:50:07 -0400
committerGravatar GitHub <[email protected]>2021-05-16 15:50:07 -0400
commit07b5f296bed099d4cde849cfeba3320e3f4aa808 (patch)
tree87b8efa0a3d11d38eb0f77c75e4a42d5033584b9 /bot/utils/decorators.py
parentdelete trailing whitespace after docstring (diff)
parentMerge pull request #738 from python-discord/vcokltfre/feat/bookmark-reply (diff)
Merge branch 'main' into main
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."