d.js docs
DIdiscord.js - Imagine ❄
•Created by tamarok on 1/18/2025 in #djs-questions
Listing entries in a ForumChannel?
:method: GuildForumThreadManager#fetchActive()
[email protected]
Obtains all active threads in the channel.6 replies
DIdiscord.js - Imagine ❄
•Created by tamarok on 1/18/2025 in #djs-questions
Listing entries in a ForumChannel?
:method: GuildForumThreadManager#fetch()
[email protected]
Obtains a thread from Discord, or the channel cache if it's already available.
6 replies
DIdiscord.js - Imagine ❄
•Created by Michel Migalov on 1/17/2025 in #djs-questions
Embed generator
4 replies
DIdiscord.js - Imagine ❄
•Created by Kbone22 on 1/17/2025 in #djs-questions
How to limit visibililty of Slash Commands
6 replies
DIdiscord.js - Imagine ❄
•Created by AGS on 1/16/2025 in #djs-questions
My bot command not showing up but bot is online here is how it looks like
42 replies
DIdiscord.js - Imagine ❄
•Created by Noah; on 1/17/2025 in #djs-questions
quick question about caching in djs
9 replies
DIdiscord.js - Imagine ❄
•Created by AGS on 1/16/2025 in #djs-questions
My bot command not showing up but bot is online here is how it looks like
42 replies
DIdiscord.js - Imagine ❄
•Created by AGS on 1/16/2025 in #djs-questions
My bot command not showing up but bot is online here is how it looks like
42 replies
DIdiscord.js - Imagine ❄
•Created by AGS on 1/16/2025 in #djs-questions
My bot command not showing up but bot is online here is how it looks like
42 replies
DIdiscord.js - Imagine ❄
•Created by AGS on 1/16/2025 in #djs-questions
My bot command not showing up but bot is online here is how it looks like
42 replies
DIdiscord.js - Imagine ❄
•Created by ChainsawXIV on 1/16/2025 in #djs-questions
messageCreate isn't firing
If you aren't getting any errors, try to place
console.log
checkpoints throughout your code to find out where execution stops.
- Once you do, log relevant values and if-conditions
- More sophisticated debugging methods are breakpoints and runtime inspections: learn more25 replies
DIdiscord.js - Imagine ❄
•Created by vezziee on 1/16/2025 in #djs-questions
how to get this gray border thing around the dates
Message formatting (mentions, timestamps, emoji, etc.): learn more
7 replies
DIdiscord.js - Imagine ❄
•Created by vezziee on 1/16/2025 in #djs-questions
how to get this gray border thing around the dates
Codeblocks:
```js
const Discord = require("discord.js");
// further code
```
becomes
Inline Code:
`console.log('inline!');` becomes
console.log('inline!');
7 replies
DIdiscord.js - Imagine ❄
•Created by LukeZ on 1/14/2025 in #djs-questions
Message cannot be edited
:mdn: Object.assign()
The Object.assign() static method copies all enumerable own properties from one or more source objects to a target object. It returns the modified target object.
31 replies
DIdiscord.js - Imagine ❄
•Created by 변상훈 on 1/14/2025 in #djs-questions
When my bot receives DMs:
7 replies
DIdiscord.js - Imagine ❄
•Created by Teixeira on 1/13/2025 in #djs-questions
`ModalBuilder` validation error
discord.js includes multiple sub-packages, installing these separately can mess with internal code:
7 replies
DIdiscord.js - Imagine ❄
•Created by leafisnothere on 1/13/2025 in #djs-questions
Getting a user’s Discord AvatarURL
documentation suggestion for @leafisnothere:
:method: User#displayAvatarURL()
[email protected]
A link to the user's avatar if they have one. Otherwise a link to their default avatar will be returned.4 replies