Fixed is_owner_check

This commit is contained in:
James Seden Smith 2016-02-14 16:26:41 +00:00
parent bbe78f6160
commit 37bbcb00d1

View File

@ -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)