I am trying to use this in my code:
if ctx.user.server_permissions.administator:
However, I am being presented with the error:
'Message' object has no attribute 'user'
I have also tried ctx.author.server_permissions.administrator
but neither seems to work.