From f409d2b95560f905c3537d0ec61a136144d464ea Mon Sep 17 00:00:00 2001 From: Conatum Date: Mon, 10 Jan 2022 19:05:04 +0200 Subject: [PATCH] fix (timer): Fix typo. --- bot/modules/study/timers/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/modules/study/timers/commands.py b/bot/modules/study/timers/commands.py index f25d77e8..46ad0eb5 100644 --- a/bot/modules/study/timers/commands.py +++ b/bot/modules/study/timers/commands.py @@ -170,7 +170,7 @@ async def _pomo_admin(ctx, flags): args = ctx.args if ctx.args: splits = ctx.args.split(maxsplit=1) - assume_channel = not splits[0].contains(',') + assume_channel = not (',' in splits[0]) assume_channel = assume_channel and not (channel and len(splits[0]) < 5) assume_channel = assume_channel and (splits[0].strip('#<>').isdigit() or len(splits[0]) > 10) if assume_channel: