Question about containers
I have a game bot that uses a large amount of interaction.update() calls to update embed content. Would it be more resource-intensive for the bot to use Containers, or would the performance be similar?
new modal items
is it possible to do the new modals stuff yet or is it pending a update? only asking as i'm not seeing info on it and wanted to make sure i didn't miss anything
"Interaction has already been acknowledged." error where I believe it shouldn't be possible
Hello, I have a bot where I am very occasionally getting this error (1/1000), and I am wondering if it's something I am doing wrong or maybe an error on Discord's end.
```
DiscordAPIError[40060]: Interaction has already been acknowledged.
at handleErrors (/root/Projects/Cat-Bot/node_modules/@discordjs/rest/dist/index.js:748:13)...
<Client>.guilds.fech returns a collection of OAuth2Guild instead of the guild itself
For some reason, using <Client>.guilds.fetch(<guildId>) returns a Collection of OAuth2Guild instead of the guild itself.
The type says
Guild but the return is something else....Does components v2's FileComponent allow for previewing the attachment within discord?
I'm attaching a plaintext (
text/plain; utf-8) txt using Component V2's FileComponent, loaded in from a buffer.
The attachment is available where I want it within the message structure -- but only as a downloadable attachment, not as a preview.
Am I doing something wrong or is it not possible to have file preview when using a FileComponent?
...Shard #1 and #2 work, but Shard #3 fails at startup
What's the problem?
Hello! I am hosting a bot in ~8k servers. Recently, I have been encountering an issue during startup. Shard #1 and Shard #2 start perfectly. However, Shard #3 fails to start (hindering ongoing startups).
What have you tried
From the error and logging, I have not yet identified the issue. I can imagine several reasons that I could not verify...
Have an automatic failover for sharded applications
What are you trying to do?
When my main server is off and the 100 shards on it cannot be used by the users, I'd like to have an automatic failover on another server with like 20 shards on it. I added argument so it can work like that : bun start shard=x shardcount=100 with x from 0 to 100
What's the problem?
Problem is I don't know how to do that, and I'd like to have some feedback by fellow developers. As I need the websocket to be active for voice connection, I'm limited to how I can do it...
Cannot read properties of null (reading 'byteLength')
I keep getting this error in my script but I can't figure out the cause of it.
```
TypeError: Cannot read properties of null (reading 'byteLength')
at Object.pull (C:\Users*\Documents\Bot\node_modules\undici\lib\web\fetch\body.js:66:20)...
Embed with component. Clear color embed & upper image in Embed
Help pls. How to make an embed like the one in the picture?
- How to place the image at the top instead of the bottom?
- How to embed a component inside the embed?
- And how to completely remove the embed’s color bar?...

Duplicate Channels & Single Message
Hi, so I'm having an issue where the bot creates a channel twice (it's not supposed to do that) but in logs, it only acknowledges it as doing it once. Then, I'm having the issue where I want two messages sent to a channel separately, but they send together
Help installing
I am honestly so lost, first time using this so confusing am I doing something wrong?
Select Menu Support In Modals
This isn’t really a question for help but more so a question for the devs, when will we see the new select menu support for modals be added into djs?
Store Snowflakes as SQLite integer?
Problem
I have a large number of discord snowflakes to store in SQLite via Sequelize. I'd like to store them as 8-byte integers rather than 18-byte strings, but I'm running up against https://github.com/sequelize/sequelize/pull/17154.
Attempted Solution
Defining the following mapping results in precision loss. It seems that sequelize does a lossy conversion to a JS number before my mapping is used....
sku
Hello, I have a small issue with an event. I would like an event to occur in a chat room on my server when a user takes a user SKU, but I can't seem to get my code to work. No matter what I do, I get a 404 error.
I already have this:
```js
const skuConfig = {...
Hello, I need help with my bot. It’s an automatic selling bot that I created back when Discord.js
Hello, I need help with my bot.
It’s an automatic selling bot that I created back when Discord.js v13 was the standard.
Now everything has updated to v14 and some parts stopped working.
Here are the issues: ...
It’s an automatic selling bot that I created back when Discord.js v13 was the standard.
Now everything has updated to v14 and some parts stopped working.
Here are the issues: ...