What's the best way to set a button to disabled?
I have the button via interaction.component
I noticed there isn't a set disabled method or anything of the sorts...
CategoryChildManager create method not working
Hey everyone!
I am having trouble creating a child channel within a category.
Here is the code...
Message content of partial message in messageDelete event
How can I get the message content of a partial message in the messageDelete event?
RoleUpdate Bug
I want to get the last updated role id, but it constantly prints the role id to the console .log.
Is it normal to log this much?...

Hello. Do you think it could be a problem to run 2 bots in same process main.js ? with separate func
Hello. Do you think it could be a problem to run 2 bots in same process main.js ? with separate functions after. to host them in only one dyno on heroku. for pricing
commandArray is not defined but it is defined.
```js
const fs = require("fs");
require("dotenv").config();
const { REST } = require("@discordjs/rest");
const { Routes } = require("discord-api-types/v9");...
TypeError: MessageEmbed is not a constructor
I seem to keep getting this error when trying to setup the DM when they get banned I get this error
2|Fireball Beta | Error while banning: TypeError: MessageEmbed is not a constructor
2|Fireball Beta | at module.exports (/mnt/volume_tor1_01/Fireball-beta/src/commands/moderation/ban.js:26:19)
2|Fireball Beta | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)...discord.Colors class question
Hello , kinda interested how should i go about this code :
...
.addStringOption((option) => option.setName("eventPlayerRoleColor").setDescription("Set Color for players in the event.").setChoices())
.addStringOption((option) => option.setName("eventPlayerRoleColor").setDescription("Set Color for players in the event.").setChoices())
messageDelete event
When I try to delete a message that was sent before I run the client the message that is on the messageDelete event doesn't appear
Discord Inpainting?
i'm wondering if this is a new feature from discord like, like a modal upgrade or something, and if we can use them now, what are the keywords i do with them

Unknown Interaction Fiasco
Everything is latest and I have ensured to defer reply. No matter what I do, Discord.JS will sometimes return an "unknown interaction" error even if it knows the interaction (see image). it's not a hardware or network issue, and I have no idea how to fix it

Command not found, when it's clearly found
So the commands I have are "ping" and "pong", but when I run the commands, it does nothing.

Detect message and send this message to LocalAdmin.exe and then give reply from this app
I'm very noob in programming such a bots, so can you help me to code a bot, which will detect message like !cmd command arg arg and then send this commad and args to LocalAdmin.exe (console application (server) it musn't be closed). After the LocalAdmin.exe replies to the command bot will send it's reply to Discord server from where it took message.
bot does not responding to any command
```
const { Client, Intents } = require('discord.js');
const client = new Client({ intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES] });
client.once('ready', () => {...
Using d.js from a web backend
My specific use case is that I want to be able to perform simple actions that don't require the gateway from a web backend using a higher level library like d.js.
Is it easy to use discord.js to create a bot without the gateway enabled? I just want a nice way to send messages using a bot user without running a full bot. I would like to control some simple bot tasks from a web backend, but I'm not sure if this is easy to do or even makes sense...
Max number of command registrations
Hi, I am working on transitioning my bot to a slash commands. I see there is a limit on how many times we can register commands a day. How do you get around this in development?
For example if I have 10 commands, and go through 20 iterations of a single command during development I would run out of registrations. Am I expected to only register one command at a time? What if I'm simply pushing a lot of commands into my bot on a certain day?
Any help on best practices here would be great...
How remove old / command from list
I created other script to command but old didn't removed from list. But i don't know how remove it

help with console time
I know that this isn't even discord.js question, but Im just too dumb to fix it and I dont know what to do please help :(
Im trying to count time in my bot console. Works, but after 24 hours doesnt show
1d, 0h, 0s, instead, it says something like this 75141d, 21h, 49s (this isnt a screenshot of exact 24 hours, actually its like 3 days)
here's my code:...
