How To Remove All Of A User’s Roles Discord.js
Hi there. I am currently making a discord.js bot, and I need to remove all of a user’s roles, but the code I have doesn’t work for me. Any idea on how to fix it?
let user = message.mentions.users.first() user.roles.remove(user.roles)