Question

Discord User Roles

  • 25 November 2022
  • 1 reply
  • 4 views

I am looking for a way to create a zap that will check if a user role is assigned to a specific user in DISCORD.


1 reply

Userlevel 7
Badge +11

Hi @SquawkTradeFX!

The Find User action for Discord does output the roles for that user:

In order to know what that number refers to, you can check out the Add Role action, then take note of the IDs for the Discord roles:

 

You can see that the role in my first screenshot is for the Awesome role. Then it’s a matter of adding a filter like this:

Or, if you want to do one thing if the role is assigned, and a different thing if the role is not assigned, you can use Paths instead.

Hope that helps!

Reply