Embedded Platform
Discord has decided that it will be a good thing to not document the Embedded platform which infact is PS4 (and more but unsure)
Would there be any possibility that this gets removed from Discord.js as this is undocumented by discord though I am unsure as to why they show me and not document it?...
Incompatible embeds
Hey, i need to copy my previous embed, but when im try to do this typescript give me error:
```Argument of type 'import("c:/Users/nikit/Desktop/Projects/New Fraction Bot/node_modules/discord.js/node_modules/discord-api-types/payloads/v10/channel").APIEmbed' is not assignable to parameter of type 'import("c:/Users/nikit/Desktop/Projects/New Fraction Bot/node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/channel").APIEmbed'.
Types of property 'type' are incompatible.
Type 'import("c:/Users/nikit/Desktop/Projects/New Fraction Bot/node_modules/discord.js/node_modules/discord-api-types/payloads/v10/channel").EmbedType | undefined' is not assignable to type 'import("c:/Users/nikit/Desktop/Projects/New Fraction Bot/node_modules/@discordjs/builders/node_modules/discord-api-types/payloads/v10/channel").EmbedType | undefined'....
Bot Appearing Offline on Some Shards
I’m running a bot on 635K servers, using
discord-hybrid-sharding
and discord-cross-hosting
for efficient shard management. The setup works fine at the beginning, but after 6-7 hours of uptime, I experience the following issues:
1 Bot appears offline in some Discord servers (specific shards seem to stop functioning or disconnect).
2 .stats
command fails to return the correct total guilds and user count after 6-7 hours of operation....You cannot remove this app's Entry Point command in a bulk update operation.
i need help idk what this means plz someone help me ur my only hope...
sharding with workers
```const bot = new Client({
shards: "auto",
intents: [
GatewayIntentBits.Guilds,...
How to mention a guild
Is there a way to mention a guild like you would mention a user or a channel etc.? For example: #general
I have an error that I cannot solve
My code is: https://sourceb.in/nXRmM0SEUW
And the error is: at Task._execution (D:\atermibot\index.js:35:36)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)...
anyone know why I get this error?
DiscordAPIError[10062]: Unknown interaction
at handleErrors (C:\Users\Adam.vscode\Rythm\Rythm\node_modules@discordjs\rest\dist\index.js:730:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (C:\Users\Adam.vscode\Rythm\Rythm\node_modules@discordjs\rest\dist\index.js:835:23)
at async _REST.request (C:\Users\Adam.vscode\Rythm\Rythm\node_modules@discordjs\rest\dist\index.js:1278:22)...
Assistance in setting up makeCache and sweepers
Hello, I would like Assistance in setting up makeCache and sweepers.
My problem:
I have a certain amount of cpu/ram usage available to my bot, because that is what my host allows me / what I pay for atm, and the server cpu usage reaches 100% after 1.5 days of my bot being online.
My bot is in 1.3k servers and does basically only music related stuff....
Restarting bot token programatically
Is there any way that we can reset a bot's token? If there is no official method or underlying api endpoint I can use, what would a possible solution be to accomplish this?
Shards Error ShardingReadyTimeout
Error while spawning shards: Error [ShardingReadyTimeout]: Shard 0's Client took too long to bec ome ready.
at Timeout.onTimeout (/home/container/node_modules /discord.is/src/sharding/Shard.js:183:16)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers :514:7) {
code: 'ShardingReadyTimeout'...
memory
my bot is across 10,000 guilds with 10 shards, each shard is approximal needs 550-750mb
I am using the following intents:
```
intents: [
GatewayIntentBits.Guilds,...
How Can I Restart My Discord Bot Without Downtime? (130k Servers)
My bot is currently in around 130,000 servers, and I'm using Discord.js with sharding to handle them. The problem I'm facing is that whenever I need to restart the bot for updates, it takes around 15 minutes for the bot to be fully online across all servers.
Is there a way to restart my bot without any downtime? I'd really appreciate some guidance on this! Thanks in advance....
Message.channel type does not seem to have send and sendTyping in v14
My particular bot build is a typescipt build. The transpiler (and my edtior) indicate that the channel object in the Message type no longer has send and sendTyping. How are they meant to be used now? Is there a type to replace Message or something?
I have tried to find any relevant info on this in the version to version migration guides and other posts here, but all I can figure out is the functions still seem to exist on the object and should work, but obviously typescript wont compile it if types dont allow it.
My flow:...

Node.js host process becomes "locked up" / "clogged" for simple bot
I have developed a simple bot that:
1. Detects when a message could possibly contain media/embeds
2. Reacts with up/down arrows, an "upvote bot"
And it works great! It's very funny and useful for my Discord community named "MNSND".
...
Getting message context after modal submission best practice
I have a message context action that gives the user a modal. When the modal is submitted, what is the best practice for getting/saving the message context that opened the modal in the first place?
ChatGPT is suggesting to pass the messageID in the customID field and parsing it out, which I guess would work, but what is the best way?...

Mee6 Import Script/Command
I have a custom bot that was originally written by another person who created this bot to allow others to have their own custom bots. I have since edited it for my own use and messed about with it and I'm now looking how to create a Mee6 import script or command that will allow me to use my bot to manage people's levels in my server, however, using the xp that they previously gained using Mee6. I would also like to create a leaderboard that will show everyone's levels. Could I receive some help...