d.js docs
d.js docs
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Lukas on 10/17/2024 in #djs-questions
Missing Access Error when updating Guild Features
:property: Guild#features @14.16.3 An array of features available to this guild
32 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Izzibaby on 10/17/2024 in #djs-questions
DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE
:guide: Home: Introduction read more
19 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by [GF]Acequail on 10/15/2024 in #djs-questions
Learning sources
:guide: Home: Introduction - Before you begin... read more
4 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by ; type on 10/15/2024 in #djs-questions
how to remove watch button from streams and put in your discord rpc buttons for ur discord bot?
To share long code snippets, use a service like gist, sourcebin, pastebin, or similar instead of posting them as large code blocks or files.
85 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by cinnamew ✿ on 10/15/2024 in #djs-questions
Trying to create a transcript
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 responses
4 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by fedpep on 10/14/2024 in #djs-questions
How can I get an array of all the posts in a forum?
:method: ThreadChannel#fetchStarterMessage() @14.16.3 Fetches the message that started this thread, if any. The Promise will reject if the original message in a forum post is deleted or when the original message in the parent channel is deleted. If you just need the id of that message, use id instead.
25 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by fedpep on 10/14/2024 in #djs-questions
How can I get an array of all the posts in a forum?
:property: ThreadChannel#name @14.16.3 The name of the thread
25 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by fedpep on 10/14/2024 in #djs-questions
How can I get an array of all the posts in a forum?
:method: GuildForumThreadManager#fetchArchived() @14.16.3 Obtains a set of archived threads from Discord. This method requires the PermissionFlagsBits.ReadMessageHistory permission in the parent channel.
25 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by fedpep on 10/14/2024 in #djs-questions
How can I get an array of all the posts in a forum?
Resources to understand Promise: - MDN: learn more - Guide: learn more - JavaScript info: learn more
25 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by fedpep on 10/14/2024 in #djs-questions
How can I get an array of all the posts in a forum?
:property: ForumChannel#threads @14.16.3 A manager of the threads belonging to this channel
25 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Eselfins on 10/14/2024 in #djs-questions
Activity isn`t showing
:dtypes: v10: ActivityType read more
10 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Shrewd πŸ’« on 10/14/2024 in #djs-questions
bot's activity status
HTTP-only applications receive interactions through HTTP webhooks instead of the Discord Gateway. Bots that are not connected to the Gateway, but use HTTP interactions appear as online without a status. Discord.js does not support HTTP interactions. Use discord-interactions instead.
4 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by LukeZ on 10/13/2024 in #djs-questions
How to handle HTTP errors?
33 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by ZELDOX on 10/13/2024 in #djs-questions
emoji undefined
Message formatting (mentions, timestamps, emoji, etc.): learn more
41 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Nab Heyka on 10/13/2024 in #djs-questions
permissionOverwrites on a new channel
:interface: GuildChannelCreateOptions @14.16.3 Options used to create a new channel in a guild.
26 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by ./u.7-z on 10/13/2024 in #djs-questions
I have an error but the message is sent
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 responses
6 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by SpecialNuggets on 10/13/2024 in #djs-voice
member.voice.channelId undefined on client ready.
:dtypes: v10: GatewayIntentBits - GuildVoiceStates read more
8 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by SpecialNuggets on 10/13/2024 in #djs-voice
member.voice.channelId undefined on client ready.
:method: GuildMemberManager#fetch() @14.16.3 Fetches member(s) from a guild.
// Fetch all members from a guild
guild.members.fetch()
.then(console.log)
.catch(console.error);
// Fetch all members from a guild
guild.members.fetch()
.then(console.log)
.catch(console.error);
8 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by NemesisClaus on 10/12/2024 in #djs-questions
properties of reset_after is undefined
:discord: Rate Limits Per-route rate limits exist for many individual endpoints, and may include the HTTP method (GET, POST, PUT, or DELETE). In some cases, per-route limits will be shared across a set of similar endpoints, indicated in the X-RateLimit-Bucket header. It's recommended to use this header as a unique for... Rate limits exist across Discord's APIs to prevent spam, abuse, and service overload. Limits are applied to individual bots and users both on a per-route basis and globally. Individuals are determined using a request's authenticationβ€”for example, a bot token for a bot. read more
21 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by 0fficerSally on 10/12/2024 in #djs-questions
Command Handling With TypeScript
We highly recommend you extend the Client structure properly instead of just attaching custom properties like .commands to the regular discord.js Client instance. - Using typescript, you might want to consider casting or augmenting the module type
9 replies