Hi i\'m new to python coding with discord and I have tried to make a command that tells the user if they are a admin or not but well... its not working in the slightest
If message.author.server_permissions.administrator
doesn't work.
Change it to message.author.guild_permissions.administrator
Or try message.author.top_role.permissions.administrator
, this will return you a bool.
One thing is, normally the server owner sets the administrator to the server top role, so this will work most of the time. But if they don't, the third sol won't work.