14 Replies
⢠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.guild.members.fetch("id") and resolve the promise it returns
You're trying to do interaction.guild.members.cache.get() but not all members will be cached so fetch instead
and if i do member.roles.add(roleID) will work?
Yes
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
i have about 52 discord id, i want to give them roles in a very fast way
so i am just trying to make a script
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
thanks
do note that giving 52 members a role at once will get you ratelimited
by this explanation it seems like a one-time script
i made an exam for our candidates and 52 one passed the exam
i want to give them access for the phase 2 channels
i did this, thanks!

it is
