d.js docs
DIAdiscord.js - Imagine an app
•Created by MartialAssault on 5/8/2025 in #djs-questions
Registering multiple commands for many guilds
To share long code snippets, use a service like gist, sourcebin, pastebin, or similar instead of posting them as large code blocks or files.
22 replies
DIAdiscord.js - Imagine an app
•Created by hasselhoff on 5/8/2025 in #djs-questions
How can I get information about a member's clan tag?
discord.js does not support features until they are officially documented.
While there might be a way for these features to work, it can change at any time without any notice
5 replies
DIAdiscord.js - Imagine an app
•Created by Lumii on 5/8/2025 in #djs-questions
Commands won't show up in DMs
19 replies
DIAdiscord.js - Imagine an app
•Created by Lumii on 5/8/2025 in #djs-questions
Commands won't show up in DMs
:method: ContextMenuCommandBuilder#setContexts()
[email protected]
Sets the contexts of this command.19 replies
DIAdiscord.js - Imagine an app
•Created by ⌁ Ky ⌁ on 5/8/2025 in #djs-questions
Removing chosen option from a string select menu
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
16 replies
DIAdiscord.js - Imagine an app
•Created by 01_ixfox on 5/7/2025 in #djs-questions
Attachment Issue
:class: MediaGalleryBuilder
[email protected]
A builder that creates API-compatible JSON data for a container.33 replies
DIAdiscord.js - Imagine an app
•Created by 01_ixfox on 5/7/2025 in #djs-questions
Attachment Issue
To share long code snippets, use a service like gist, sourcebin, pastebin, or similar instead of posting them as large code blocks or files.
33 replies
DIAdiscord.js - Imagine an app
•Created by Ornitonrrinco on 5/7/2025 in #djs-questions
Your bot has been flagged by our anti-spam system...
We are not Discord, just some nerds who develop Discord bots!
- /report appeals and age updates
- /howtoreport reports (harassment/hacking/spam/abuse)
- /support anything Discord related
- /billing payment/nitro
- /feedback feedback/feature requests
11 replies
DIAdiscord.js - Imagine an app
•Created by Anno on 5/7/2025 in #djs-questions
DM messages doesent get handled
4 replies
DIAdiscord.js - Imagine an app
•Created by Anno on 5/7/2025 in #djs-questions
DM messages doesent get handled
To receive direct message events on
"messageCreate"
with your bot, you will need:
- The DirectMessages
gateway intent
- The Channel
partial setting4 replies
DIAdiscord.js - Imagine an app
•Created by 𝙄𝙎𝙃𝙒𝘼𝙍 </> on 5/6/2025 in #djs-questions
Discord.js
10 replies
DIAdiscord.js - Imagine an app
•Created by Gary on 5/6/2025 in #djs-questions
MediaGalleryBuilder() error.
64 replies
DIAdiscord.js - Imagine an app
•Created by Gary on 5/6/2025 in #djs-questions
MediaGalleryBuilder() error.
64 replies
DIAdiscord.js - Imagine an app
•Created by auvqrs on 5/5/2025 in #djs-questions
Bot not waking up
40 replies
DIAdiscord.js - Imagine an app
•Created by auvqrs on 5/5/2025 in #djs-questions
Bot not waking up
We do not provide any help with third party libraries
discord.js supports message components natively.
- Select Menus: learn more
- Buttons: learn more
- Modals: learn more
40 replies
DIAdiscord.js - Imagine an app
•Created by Erwan on 5/4/2025 in #djs-questions
Rich Presence
12 replies
DIAdiscord.js - Imagine an app
•Created by ReactiveTurtle🌸🥀 on 5/3/2025 in #djs-questions
How can I programmatically set or update the voice channel status
discord.js does not support features until they are officially documented.
While there might be a way for these features to work, it can change at any time without any notice
8 replies
DIAdiscord.js - Imagine an app
•Created by Skullfromroblox on 5/4/2025 in #djs-questions
How to execute an event?
55 replies
DIAdiscord.js - Imagine an app
•Created by Skullfromroblox on 5/4/2025 in #djs-questions
How to execute an event?
:node:
emitter.emit(eventName[, ...args])
Synchronously calls each of the listeners registered for the event named eventName, in the order they were registered, passing the supplied arguments to each.Returns true if the event had listeners, false otherwise.55 replies