From 37bbcb00d14a850e99a376a1deea172ef198acac Mon Sep 17 00:00:00 2001 From: James Seden Smith Date: Sun, 14 Feb 2016 16:26:41 +0000 Subject: [PATCH] Fixed is_owner_check --- cogs/utils/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/utils/checks.py b/cogs/utils/checks.py index d01150687..260634b23 100644 --- a/cogs/utils/checks.py +++ b/cogs/utils/checks.py @@ -20,7 +20,7 @@ except: settings = {"OWNER" : False, "ADMIN_ROLE" : False, "MOD_ROLE" : False} def is_owner_check(ctx): - return ctx.message.author.id == owner + return ctx.message.author.id == settings["OWNER"] def is_owner(): return commands.check(is_owner_check)