Role menu
#1201
Replies: 1 comment 2 replies
-
One way that you could do this would be to set the values of the options in the dropdrown to the IDs of the roles you want (or loop over every role in the guild and add their ID as a value, if you want to list every role); once a selection is made, use the selection's value (the role ID) to get the role and add it to the interaction user. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Im trying to make a dropdown menu but for roles in pycord (discord.py works too) but I don't know how
Here's an image of what I want it to look like (from the Basement Developers server)
Beta Was this translation helpful? Give feedback.
All reactions