d.js docs
DIAdiscord.js - Imagine an app
•Created by Th3_KaKtuZz-_- on 2/17/2025 in #djs-questions
Error 10062 [Uknown Interaction]
Common causes of
DiscordAPIError[10062]: Unknown interaction
:
- Initial response took more than 3 seconds ➞ defer the response *.
- Wrong interaction object inside a collector.
- Two processes handling the same command (the first consumes the interaction, so it won't be valid for the other instance)
* Note: you cannot defer modal or autocomplete value responses12 replies
DIAdiscord.js - Imagine an app
•Created by Ksisios on 2/13/2025 in #djs-questions
Comming back on bot development
Version 14 has released! Please update at your earliest convenience.
- Update:
npm rm discord.js
npm i discord.js
- Update guide (use CTRL
+ F
to search for the old method or property)9 replies
DIAdiscord.js - Imagine an app
•Created by Alix on 2/12/2025 in #djs-questions
TypeError: interaction.isCommand is not a function
The order of function parameters must match between definition and function call.
- mismatch! you pass an interaction where the client is expected
- mismatch! you pass the client where an interaction is expected
9 replies
DIAdiscord.js - Imagine an app
•Created by JollyJohn on 2/11/2025 in #djs-questions
dming users
Ratelimits are dynamically assigned by the API based on current load and may change at any point.
- The scale from okay to API-spam is sliding and depends heavily on the action you are taking
- Rainbow roles, clock and counter channels, and DM'ing advertisements to all members are all examples of things that are not okay
10 replies
DIAdiscord.js - Imagine an app
•Created by nameless on 2/10/2025 in #djs-questions
discord bot mute command
To share long code snippets, use a service like gist, sourcebin, pastebin, or similar instead of posting them as large code blocks or files.
41 replies
DIAdiscord.js - Imagine an app
•Created by TehPig on 2/9/2025 in #djs-questions
Using <GuildsAPI>.getMembers() to fetch specific members.
8 replies
DIAdiscord.js - Imagine an app
•Created by br1t on 2/8/2025 in #djs-questions
how do i grab the role made by an integration
5 replies
DIAdiscord.js - Imagine an app
•Created by br1t on 2/7/2025 in #djs-questions
Issue with Message Logger
If you aren't getting content, embeds or attachments of a message, make sure you have the
MessageContent
intent enabled in the Developer Portal and provide it to your client:
9 replies
DIAdiscord.js - Imagine an app
•Created by JustUseFirefox on 2/7/2025 in #djs-questions
new Client VS new REST + new WebSocketManager
9 replies
DIAdiscord.js - Imagine an app
•Created by muckmuck96 on 2/7/2025 in #djs-questions
Issue with bot connect to gateway through docker network
13 replies