diff options
| author | 2019-10-02 14:04:19 +0200 | |
|---|---|---|
| committer | 2019-10-02 14:04:19 +0200 | |
| commit | 0e01bf0fb84fc91f691cd4f721180c4be0a5dd70 (patch) | |
| tree | 8e411beae16326451d925842ec0a2989d0fbb4c9 | |
| parent | add logging when an overriden in_channel_check fails (diff) | |
fix grammar in in_channel_override docstring
| -rw-r--r-- | bot/decorators.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/decorators.py b/bot/decorators.py index 471ea3be..2c042b56 100644 --- a/bot/decorators.py +++ b/bot/decorators.py @@ -67,7 +67,8 @@ def in_channel_check(*channels: int, bypass_roles: typing.Container[int] = None) """ Checks that the message is in a whitelisted channel or optionally has a bypass role. - If `in_channel_override` is present, check if it contains channels and use them in place of global whitelist + If `in_channel_override` is present, check if it contains channels + and use them in place of the global whitelist. """ def predicate(ctx: Context) -> bool: if not ctx.guild: |