Exemplo n.º 1
0
 async def cog_check(self, ctx):
     return hasattr(ctx.author,
                    '_roles') and Permissioncheckers.check_permission(
                        ctx.command, ctx.guild, ctx.author,
                        self.bot) or ctx.channel.permissions_for(
                            ctx.author).manage_emojis
Exemplo n.º 2
0
 async def __local_check(self, ctx):
     return Permissioncheckers.check_permission(ctx)
Exemplo n.º 3
0
 async def cog_check(self, ctx):
     return Permissioncheckers.check_permission(ctx)
Exemplo n.º 4
0
 async def cog_check(self, ctx):
     return Permissioncheckers.check_permission(
         ctx.command, ctx.guild, ctx.author) or ctx.channel.permissions_for(
             ctx.author).manage_emojis
Exemplo n.º 5
0
 async def cog_check(self, ctx):
     return Permissioncheckers.check_permission(ctx.command, ctx.guild,
                                                ctx.author)
Exemplo n.º 6
0
 async def __local_check(self, ctx: commands.Context):
     return Permissioncheckers.check_permission(ctx)
Exemplo n.º 7
0
 async def __local_check(self, ctx):
     return Permissioncheckers.check_permission(ctx) or ctx.channel.permissions_for(ctx.author).manage_emojis