developing-djs

275 threads · Page 4 of 6

Should getTextInputValue have required overrides similar to command options? 7 messages
upper ice In developing some workflows that rely on modal interactions, I'm coming across, what I believe are, typing inconsistenc...
discord.js
Incompatible types on MessageManager 5 messages
cinder wraith Bringing back this issue https://github.com/discordjs/discord.js/issues/8545 as it is really important. I currently see ...
discord.js
Issues with undici request and fetch 21 messages
drifting hamlet Randoms `connection_timeout` errors regarding undici, possibly linked to sharding
REST discord.js
GuildForumThreadCreateOptions.message is invalid type 7 messages
fringe spire <https://discord.js.org/#/docs/discord.js/main/typedef/GuildForumThreadCreateOptions> Why would message be able to take...
discord.js has pr
Partials enum is plural 3 messages
fringe spire Is there a reason the `Partials` enum is plural? I thought enums in djs v14 were supposed to be singular. Even the guide...
discord.js
Internal sharding support for docker swarm? 16 messages
clever rune Utilizing internal sharding with the help of docker swarm would become beneficial and easier with the option of replicas...
discord.js
Add an explanation to sweepers 14 messages
drifting hamlet Those are useful and rather forward functions that can highly reduce the memory usage of a bot, my idea is to explain ho...
guide
New site packages, add discord-api-types 20 messages
drifting hamlet ### <https://discordjs.dev/docs/packages> Why not add a reference to the DTypes too? I know its a different package but...
has pr website
any plans to make slash command deployment more opinionated or ergonomic? 8 messages
onyx ingot So we don’t have to copy paste a lot of code like in the example in the guide
discord.js guide
Why was MessageEmbed.length removed? 34 messages
tranquil nebula It was a genuinely useful feature, being able to access the full length of an embed without having to check each individ...
discord.js has pr
Nodejs readable stream body support in REST? 36 messages
mint fossil Is it by design that readable stream objects (as a body) are buffered before sending the request via undici (<https://gi...
REST
How are Multiple PRs generally handled? 6 messages
light lintel the question isn't directly related to djs but to the procedure of merging PRs in djs • if a "topic" already has a PR, ...
discord.js
Escape forum markdown with escapeMarkdown 12 messages
gilded compass It would be fantastic to escape all the markdown available in forum posts with the existing function `escapeMarkdown` ex...
discord.js has pr
[Suggestion] informative modals pop-ups 4 messages
dusky moth Currently adding a title, customId and components is required. Would be cool to have a possibility to create simple pop...
discord.js
Automate websocket tests 21 messages
drifting hamlet ## How Mocking REST requests we could make the manager use an localhost websocket, allowing the tests to be perfomed aut...
ws
Plans for webhook (non-gateway) bots? 10 messages
grand forum Are there any plans for d.js to support webhook (non-gateway) Interactions? Currently making a bot sans gateway with the...
discord.js REST
Show where something is used 11 messages
fringe spire Is it possible to have a place in the docs to check where a certain class/type/interface is used? It could be the return...
website
client.options.intents 24 messages
forest sky wouldn’t be better that `<Client>.options.intents` returns an instance of IntentsBitField instead of just a number?
discord.js has pr
Rest rejecting webhooks post without bot token 2 messages
gilded compass I'm trying to execute a webhook using the REST package. I didn't install discord.js because executing the webhook is the...
REST
Why does awaitModalSubmit requires time option? 4 messages
daring burrow I mean there's awaitMessageComponent but time option is optional but why modal?
discord.js
Copy button 3 messages
stoic sleet I don't if you can do it or discord does not allow it. The idea is that we can do like a button or a command to copy a s...
discord.js
Snowflake Util and Emoji parse 2 messages
hushed flicker I’m not sure if you guys know, but you guys are missing Snowflake Util and the emoji parse
discord.js
emojis break when editing embed message 18 messages
quasi tusk I have a bot that is on two servers only, the main server and the server where it contains the emojis, when I use a comm...
discord.js
Throw an error if the client tries to fetch all members without having the intent 11 messages
drifting hamlet Currently DJS tries to send the ws package and await responses, the error is thrown when the request timeout (2m), sugge...
discord.js
Having trouble running small test script 24 messages
river helm Hi! I've cloned the repo and I'm attempting to add a small test script 'myTestScript' to run with modified WS package co...
ws
Headers Timeout Error 2 messages
keen lagoon ```js TypeError: Cannot read properties of undefined (reading 'loadType') at Object.run (C:\Users\rudei\lavamusic-2\...
voice
Allow „cache“ property when fetching all guild members 4 messages
half folio When fetching a single guild member with `<GuildMemberManager>.fetch` there‘s an option `cache` which sets whether the u...
discord.js
Question about developing the guide 8 messages
shadow dagger just a question for the guide, does every highlight mentioning a class or something need a link to the docs page for the...
guide
Testing modified build manually 30 messages
river helm Hi! I'm attempting to fix an issue in discord/ws and I'd like to build and test it out. I figured out how to build it ...
ws
interaction typeguards 75 messages
forest sky why did you remove interaction typeguards then re-add them?
discord.js
Link to documentation on homepage is broken 7 messages
spiral cosmos When I click "Documentation" on https://discord.js.org/#/ I get taken to https://discord.js.org/#/docs/discord.js/main/g...
website
Typo on discordjs.guide website 3 messages
distant ridge Page: https://discordjs.guide/popular-topics/intents.html#enabling-intents End of second dot-point.
guide has pr
allow addFields to have an array of objects as input 5 messages
north topaz ```js new EmbedBuilder().addFields([{},{}])//cool new EmbedBuilder().addFields(fields)//cool new EmbedBuilder().addFie...
discord.js
Documentation link on the top of the guide is pointing to stable on v14 6 messages
drifting hamlet ### The docs link on the top of the guide page of v14 goes to the v13 docs: <https://discord.js.org/#/docs/main/stable/g...
guide has pr
(Meta RFC) Making the discord-api-status an announcement channel 12 messages
drifting hamlet So it can be cross-posted, seeing that is a really well developed feature!! (Not possible)
discord.js
Forum support 3 messages
fast plover What is the status of forum support in discord.js?
discord.js
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...
discord.js
`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...
discord.js
Discord.js using bun 6 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...
discord.js
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": { ".": { "...
discord.js
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 ...
discord.js
✅ 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...
discord.js
Adding a commandMention formatter 3 messages
undone bramble Since discord added the ability to mention slash commands why not add a mention formatter
discord.js has pr
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...
discord.js
examples on doc 16 messages
forest sky will you add examples on the doc as you did for v12?
website
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?
discord.js
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...
discord.js
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...
discord.js
http interactions 5 messages
forest sky will the guide learn how "http interactions" work?
guide
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 ...
discord.js