diff options
author | 2021-06-07 17:16:15 +0800 | |
---|---|---|
committer | 2021-06-07 17:16:15 +0800 | |
commit | e73fb4a2ced2fd264ec65a828c114cbbeda26d7a (patch) | |
tree | c468b60cbd00b8f6b00043635dc2d4393a001c4b /bot/utils/decorators.py | |
parent | (tic-tac-toe): Use embeds for showing previous game boards (diff) | |
parent | Merge pull request #758 from OculusMode/master (diff) |
Merge branch 'main' into fix/ttt
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." |