#How would I add an option if the interaction executor has a certain role
8 messages · Page 1 of 1 (latest)
• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.
interaction.member is a regular GuildMember instance representing the guild bound data for the user that used the command, if it was used within a cached guild
GuildMember#roles
A manager for the roles belonging to this member
/docs tss
and how would I keep the same command, but if a user has a certain role ID, then add an option to the command prior the execution
can't do that
so we need to have different commands?