developing-djs

295 threads · Page 5 of 6

Interaction.reply() causes crash 2 messages
cosmic chasm for some reason whenever my bot calls for interaction.reply it crashes due to "Interaction has already been acknowledged...
992669466733334589
`interaction.isRepliable()` doesn't narrow the interaction type correctly in TS 51 messages
young hollow Put the following code at the top of a interactionCreate event: ```ts if (interaction.isRepliable()) { const st...
992669466733334589
Discord.js using bun 9 messages
languid musk Hey, wouldn't it be great to use bun as runtime for discord.js, because it seems like it would be quite ideal for discor...
992669466733334589
CJS and ESM support. 142 messages
wise silo Isn't it possible to include both CJS and ESM modules as such in the `package.json`? ```json "exports": { ".": { "...
992669466733334589
Message.awaitMessageComponent ignores valid interactions 16 messages
cinder wraith So I have a button interaction coming from an ephemeral reply, to which I'm replying with an ephemeral message and then ...
992669466733334589
✅ InGuild() typeguard not working? 17 messages
placid fractal Hi, I wanted to use the <Message>.InGuild() typeguard as advised by monbrey but it apparently doesn't change anything fo...
992669466733334589
Adding a commandMention formatter 3 messages
undone bramble Since discord added the ability to mention slash commands why not add a mention formatter
992669466733334589 992677716690206750
Cannot build docgen 14 messages
gilded compass When trying to run `yarn build` the script fails at building docgen with the error in picture. I have tried reinstalling...
992669466733334589
examples on doc 16 messages
forest sky will you add examples on the doc as you did for v12?
992669647621074975
gateway_resume_url question 5 messages
pastel pendant https://github.com/discordjs/discord.js/pull/8480 Shouldn't that be added to discord.js as well?
992669466733334589
Feedback - add guild member to MessageReaction, if reacted from guild 10 messages
nocturne burrow Even a mod thought it would have been there, for a moment - this would be super intuitive. If null, it's probably becaus...
992669466733334589
Crash when encountering unknown component 13 messages
drowsy pendant Yesterday, I sent a user select menu with one of my bots. It seems to have crashed another one of my bots. Why does disc...
992669466733334589
http interactions 5 messages
forest sky will the guide learn how "http interactions" work?
992669728218828870
Adding discord-api-types return types in the discord.js docs 24 messages
sturdy condor Just curious if there's currently an issue or PR in the works to add `discord-api-types` return types in the discord.js ...
992669466733334589
Incorrect type of ModalSubmitFields.fields 4 messages
cinder wraith This property is typed as Collection<string, TextInputComponent>, however, the value is actually just an object that doe...
992669466733334589
Property 'update' does not exist on type 'ModalSubmitInteraction' 2 messages
cinder wraith In the docs (https://discord.js.org/#/docs/discord.js/main/class/ModalSubmitInteraction?scrollTo=update) ModalSubmitInte...
992669466733334589
overwritesFor private or undocumented 3 messages
void turtle Anyone know why https://github.com/discordjs/discord.js/blob/2130aae3210a8eaf91c5ccae5463940d49052c7d/packages/discord.j...
992669466733334589
Webhooks cache 55 messages
gilded compass Webhooks are the only thing in servers that do not have a cache afaik in djs. Even a manager for invites was created so ...
992669466733334589
Proposal to rewrite RPC to TypeScript 330 messages
worn pebble Since the RPC lib hasn't been update in like over a year and is not an overly large project, I'd like to look into rewri...
995450796852400330
deprecated link in docs 2 messages
old flicker <https://discord.js.org/#/docs/discord.js/stable/typedef/ChannelType> wrong/deprecated link at > See Self-serve Game Se...
992677716690206750 992669647621074975
Missing event 'debug' on VoiceConnection and AudioPlayer 14 messages
drifting hamlet Both of those classes support the debug event when debug is enabled on their constructors, although whis event is not do...
992669647621074975
re-exports discordjsvoice 1 messages
forest sky why discord.js doesn't re-exports \@discordjs/voice ?
992669466733334589
Some structures aren't default exports 1 messages
fringe spire So far I see `BaseChannel`, `Message`, and `GuildMember` aren't a single, default export. Instead it's set like `exports...
992669466733334589
Inconsistent guide examples under Administrative section 1 messages
frosty oriole For banning members, the guide recommends using `.getUser(...)` to get the user. However, for unbanning, it recommends ...
992669728218828870 992677716690206750
RFC(ws) Session-specific Gateway Resume URLs 9 messages
drifting hamlet Discussion for the new announced feature of Region-specific WS urls
995450923776213073 992677716690206750
Is there a specific reason few very methods have examples in the documentation? 7 messages
echo bay I was looking through the documentation and noticed that there's a few methods with examples. I was wondering if there's...
992669647621074975
Accepted component types in modals 18 messages
cinder wraith In the latest stable release, discord.js only accepts TextInputComponents in ModalBuilders but Discord also accepts Sele...
992669466733334589
Stable tag on the docs website should be removed 3 messages
drifting hamlet The Stable tag refers to the v13 which is still supported, but it is confusing for the end user considering `main` is v1...
992669647621074975
integration permissions 11 messages
mint wadi Is there a way to set default permissions per command? like for example, have ban command and set default permissions to...
992669466733334589
DefaultMakeCacheSettings edited 13 messages
drowsy pendant looks like DefaultMakeCacheSettings was edited at some point (and capitalized); the description still lists everything i...
992669466733334589
SlashCommandBuilder.from()? 4 messages
karmic ridge Are there any discussions about this becoming a possibility? My current implementation for this is... **spotty** at best...
992669466733334589
Add an method to the RequestManager to clear the request queue 108 messages
drifting hamlet An method to reset the queue preventing from queued requests from actually be sent and rejecting all of then with an err...
995450905967198378
14.1.2 docs not loading 2 messages
shy inlet Seems like the docs for discord.js v14.1.2 are not loading, idk if its an issue on my side or not but i do get this in t...
992669647621074975
Missing types for application command options 0 messages
safe vale As pointed out by Jira recently on GitHub, discord.js was missing a few typings for application command options. Namely ...
992669466733334589
missing total_message_sent field on APIThreadChannel type 9 messages
round gazelle ^
992669520399450232
Missing `state` getter on VoiceConnection 11 messages
drifting hamlet The docs for the VoiceConnection is missing the getter `state` which is defined in code, only the private `_state` exist...
992669647621074975 992677716690206750
MessageMentions (Possible memory leak) 10 messages
drifting hamlet In the getter for the `MessageMentions#parsedUsers` when the `this._parsedUsers` is a falsy value what prevents this cod...
992669466733334589 992677716690206750
Add static method ActionRowBuilder.of() 18 messages
soft geode The static method `ActionRowBuilder.of()` creates a new action row adding the passed component builders. Most often the...
992669466733334589
Snowflake type 10 messages
violet bolt Why **Snowflake** type equals to **string** when it can be **\`${bigint}\`**? Seems like a safer restriction to be had
992669520399450232
InteractionResponse bugs the collector 6 messages
drifting hamlet **Will open an issue** Sorry for the misuse of this forum 😕 - Experienced a bug a while ago while working on Yuudachi...
992669466733334589
Breaking change on codeBlock function 18 messages
cinder wraith This thread is NOT to be confused with <#1001614734203834499>, it's about a different issue So this PR https://github.co...
992669466733334589
Can't install 2 messages
glossy socket When I try to install discord.js's dependencies using `yarn --immuntable` it gives me this error: `...\discord.js\node_m...
992669466733334589
Why is my timeout running twice? 5 messages
unborn echo ^
992669466733334589
Improve flow of slash command creation 21 messages
untold holly Add a method to create slash commands easier
992669466733334589
please I want make a new feature inside discord.js and i can not found in discord-api-types 10 messages
hexed surge Hello, I wanna make new feature inside discord js and feature is auto moderation , but i can't find it in the discord-...
992669520399450232 992669466733334589
GuildMemberResolvable vs UserResolvable 1 messages
fringe spire Is there a reason to keep both of these types? The `UserResolvable` is `User | Snowflake | Message | GuildMember | Thr...
992669466733334589
Guide does not include an 'Autocomplete' section 3 messages
paper sleet So since v14's release, I am trying to update my bots to the latest version. Some of theme had an autocompletion system,...
992669728218828870
Modal (awaitModalSubmit) UX is bad 2 messages
tepid cobalt Can anything be done to improve the UX of modals like being able to tell when it has been cancelled / programatically cl...
992669466733334589 995450905967198378
Error code union compatibility 58 messages
tepid cobalt ```ts export interface DiscordjsErrorFields<Name extends string> { readonly name: `${Name} [${keyof typeof DiscordjsEr...
992669466733334589
changes v14 guide update 16 messages
lusty marten i saw the new v14.1.0 release is out with the updates and isCommand() is back etc, but in the changes guide it still say...
992669728218828870