From 0e01bf0fb84fc91f691cd4f721180c4be0a5dd70 Mon Sep 17 00:00:00 2001 From: Numerlor Date: Wed, 2 Oct 2019 14:04:19 +0200 Subject: fix grammar in in_channel_override docstring --- bot/decorators.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bot/decorators.py') 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: -- cgit v1.2.3