From a173451164073cc6ffb75e3f90dc0d259d1167d5 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Sun, 23 Sep 2018 17:51:31 -0500 Subject: [PATCH] Correct how the methods are called --- cogs/utils/checks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/utils/checks.py b/cogs/utils/checks.py index fed2876..f7993d3 100644 --- a/cogs/utils/checks.py +++ b/cogs/utils/checks.py @@ -70,7 +70,7 @@ def is_owner(ctx): return ctx.bot.owner.id == ctx.message.author.id -def should_not_ignore(ctx): +def should_ignore(ctx): if ctx.message.guild is None: return False ignored = ctx.bot.db.load('server_settings', key=ctx.message.guild.id, pluck='ignored') @@ -193,7 +193,7 @@ def can_run(**kwargs): if not await check_not_restricted(ctx): return False # Then if the user/channel should be ignored - if not should_not_ignore(ctx): + if should_ignore(ctx): return False # Otherwise....we're good return True