You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: interaction.member.roles.add is not a function
at Object.execute (C:\Users..xxxxxxxxxxxx..\Code\NAME-discord-bot\commands\utility\verification.js:112:40)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.execute (C:\Users..xxxxxxxxxxxx..\Code\NAME-discord-bot\events\interactionCreate.js:16:4)
Which package is this bug report for?
discord.js
Issue description
Cant add role to a member. I know, what something wrong with classes, but idk how to fix it(newbie).
I saw examples of implementation through cache, but I have no way to repeat it.
Mb helped:
Code sample
Versions
discord.js ^14.16.2
node v20.11.1
Issue priority
Low (slightly annoying)
Which partials do you have configured?
No Partials
Which gateway intents are you subscribing to?
GuildMembers, GuildModeration
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered: