Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

discord.py permissions

@bot.command()
@commands.has_permissions(manage_messages=True)
async def test(ctx):
    await ctx.send('You can manage messages.')
   
# https://discordpy.readthedocs.io/en/stable/api.html#discord.Permissions
Source by discordpy.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #permissions
ADD COMMENT
Topic
Name
1+5 =