#How do I get the perms of a user who pressed a button in a Miru view?
1 messages · Page 1 of 1 (latest)
Context would contain the interaction
You can get it from that
ctx.interaction
Wait I’m on phone so it kinda hard to find the exact thing
ctx.interaction.member
From there you can find the permissions I guess
ctx.interaction.member.permissions
If you need further help feel free to ping me
The docs explain how to work with permissions pretty well
Actually @crude ridge it’s my mistake, you should use ctx.member directly
So it should be
ctx.member.permissions
And again as mentioned here, you can easily work with permissions once you read the example
If you haven’t worked with them before