Fuck this shit
This commit is contained in:
parent
513e23ca85
commit
a7a5099031
@ -26,7 +26,7 @@ class ReginaldCog(commands.Cog):
|
|||||||
self.config.register_global(**default_global)
|
self.config.register_global(**default_global)
|
||||||
self.config.register_guild(**default_guild)
|
self.config.register_guild(**default_guild)
|
||||||
|
|
||||||
async def has_admin_role(self, ctx):
|
def has_admin_role(self, ctx):
|
||||||
return ctx.author.guild_permissions.administrator
|
return ctx.author.guild_permissions.administrator
|
||||||
|
|
||||||
async def has_allowed_role(self, ctx):
|
async def has_allowed_role(self, ctx):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user