DIA
discord.js - Imagine an appš„ Samagio.
Objects not getting pushed to collection.
This check will detect if a user's roles has been updated, and if they have their old position roles, then it gets removed. For example, detecting if an administrator demoted to a moderator still has the administrator role. I added the role that was removed to a collection so I can add it to an embed to send to the user, but the only problem is that the collection is always empty.
DT
d.js toolkitā¢16d ago
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ā
Marked as resolved by OPS
š„ Samagio.ā¢16d ago
Never find, I fixed it. I had to use a for loop instead.
Support server for discord.js, a Node.js module to interact with the Discord bot API.
58KMembers
View on DiscordWant results from more Discord servers?
More PostsNot Found - GET npm installI get this error:
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/intigrproblem with permission overrideproblem lies in line 42Confirmation and error messages problem:Hi everybody
I'm currently trying to make a slash command with 4 subcommands:
The first creates a nset undefinedthis.client.voice.adapters.set(this.id, methods);
^
TypeError: CannCan not read dmsI for somereason can not fetch dms sent to my discord bot using 'messageCreate',
I have Direct messwhere would one find the d.js "send a message in a channel" chain in the v14 docssorry if i got the terminology wrong im not super used to JS but where could i find the chain for seERREUR```[ERROR] DiscordAPIError[50035]: Invalid Form Body
embeds[0][LIST_ITEM_VALUE_REQUIRED]: List item Is there a way to loop through each guild and channel without getting error using fetch?Basically, right now I am using try/catch without logging the error(s), because it works. But, if I