I am trying to get the permission of a mentioned discord. Member
I have tried it with
if discord.utils.get(user.guild_permissions, name="manage_messages"):
where the user: discord.Member
and I get this error
Command raised an exception: AttributeError: 'tuple' object has no attribute 'name'
Is there a way to do this?