fix small bug from last commit
This commit is contained in:
parent
16131895c1
commit
b62c1045bc
@ -31,7 +31,7 @@ def generate(fdict, **kwargs):
|
||||
largs[0].notice(largs[1], "You are not the owner.")
|
||||
return
|
||||
if admin_only:
|
||||
if cloak and (cloak in botconfig.ADMINS or cloak == botconfig.OWNER):
|
||||
if cloak and (cloak in botconfig.ADMINS or cloak in botconfig.OWNERS):
|
||||
return f(*largs)
|
||||
elif cloak:
|
||||
largs[0].notice(largs[1], "You are not an admin.")
|
||||
|
Loading…
Reference in New Issue
Block a user