howw to check for roles in discord py code example
Example: check if user has manage messages discord.py
@client.event
async def on_message(message):
message.author.guild_permissions.manage_messages # returns bool
@client.event
async def on_message(message):
message.author.guild_permissions.manage_messages # returns bool