How to Check User's Roles
Prevent users without a specific role to run your command..
tip
Need help? Join our Discord server!
Resources
- Role Message Mention:
<@&ROLEID>
(ReplaceROLEID
with the Role ID)
Video Tutorial
Parts
0:00
- In this Video0:14
- Enabling Required Intents0:58
- Basic Example in a Slash Command3:40
- Turning it into a Custom Block5:53
- Using the Custom Block in any Interaction trigger7:00
- Ending

Note
Leave a like on the video if you've found it helpful! 😄