Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

reaction role discord.py

@role.error
async def role_error(ctx, error):
  if isinstance(error, MissingPermissions):
    await ctx.send('**:x: | You do not have permission to use this command!**')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reaction #role
ADD COMMENT
Topic
Name
4+2 =