mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Fixed is_owner_check
This commit is contained in:
parent
bbe78f6160
commit
37bbcb00d1
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user