What is the "remove role from member" code

..
8 Replies
d.js toolkit
d.js toolkit2y ago
- 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. - Issue solved? Press the button!
xjanex
xjanexOP2y ago
Hi, I want to know how to make the command to remove a role from members
Syjalo
Syjalo2y ago
Try to convert your sentence into the code member.roles.remove()
d.js docs
d.js docs2y ago
method GuildMemberRoleManager#remove() Removes a role (or multiple roles) from the member.
xjanex
xjanexOP2y ago
do i put the role id between the () ?
Syjalo
Syjalo2y ago
Here's the doc
xjanex
xjanexOP2y ago
I mean i want to create a command that when a members use it it will remove a specific role from him
treble/luna
treble/luna2y ago
Just read the doc, it shows you how
Want results from more Discord servers?
Add your server