|
|
@ -31,7 +31,7 @@ def generate(fdict, **kwargs): |
|
|
|
largs[0].notice(largs[1], "You are not the owner.") |
|
|
|
largs[0].notice(largs[1], "You are not the owner.") |
|
|
|
return |
|
|
|
return |
|
|
|
if admin_only: |
|
|
|
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) |
|
|
|
return f(*largs) |
|
|
|
elif cloak: |
|
|
|
elif cloak: |
|
|
|
largs[0].notice(largs[1], "You are not an admin.") |
|
|
|
largs[0].notice(largs[1], "You are not an admin.") |
|
|
|