messageCreate isn't firing
I'm not getting messageCreate triggers when a message is sent in a chat channel.
To cover items from similar questions:
- I've triple-checked my intents (see below)...
button interaction response problem
When responding to a button interaction, I am trying to disable the clicked button, but the following error keeps occurring. The label is already set during its creation.
Global Commands are not registering
i made sure certain command is reserved for a particular server and remaining commands are global , the code which iam pasting below worked for the past 3 days but it stopped working yesterday - https://gist.github.com/Kiran-Alex/2920c666d0dadf5f309977b595fe3d03 and the output : - > ...
> node src/deploy-commands.js && node index.js
Starting bot command deployment...
Deploying 30 global commands...
> node src/deploy-commands.js && node index.js
Starting bot command deployment...
Deploying 30 global commands...
Does Discord.js natively support a debouncer or similar feature to prevent excessive button inputs?
I am curious if Discord.js provides native support for a debouncer to handle issues like excessive button inputs. If not, are there alternative features or approaches available to address this problem?
How to properly use "fetchReply" in Discord.js Interaction API?
While working on my Discord.js bot, I encountered the following warning:
-# (node:12684) Warning: Supplying "fetchReply" for interaction response options is deprecated. Utilize "withResponse" instead or fetch the response after using the method....
slash command deploy
I think the function for deploying slash commands is not working properly. I want to know what the issue is.
How to register a User Installed SlashCommand
i created a shlashcommand but it does not appear as user installed command
```js
new SlashCommandBuilder()
.setName("example")
.setDescription("example command")...
Message cannot be edited
My code:
```ts
// The channel is fetched with ctx.guild.channels.fetch(parsedLink.channelId)
let message: Message | null = null;
try {...
When my bot receives DMs:
Initially, when the bot is invited to a guild, it can receive DM messages without any issues. However, after the bot is rebooted, it cannot receive DMs anymore.
Has anyone experienced a similar situation and found a solution? Any help would be greatly appreciated!...
Discord.js voice resampling issues.
Not sure if this goes in djs-questions or other-js-ts
Hello! Currently I'm trying to get voice recognition on my discord bot through voice chat using Vosk, and I'm getting there however, I do not know how to resample the voice stream I am provided via
connection.receiver.subscribe
.
This isn't exactly to do with discord.js but any help would still be appreciated 🙂
...can anyone help me by giving tips on making money as a teenRn Iam a 14 year old trying to make cash
iam very experienced in tech and would glady accept any tips given or offers and wouldnt mind if there were anyone to know a server that can help
`ModalBuilder` validation error
When creating a modal like this:
```ts
export default class InputSocialMediaAccountName extends CustomModal {
public override async build() {...
Speak in Stage Channel
i am using latest djs version,
```js
if (newState.id === client.user.id && newState.channel?.type === 13) {
if (!oldState.channelId) {
try {...
Getting a user’s Discord AvatarURL
Hey! I’m trying to make a slash-command which will reply with the user’s AvatarURL
Slash Problems
Hello, I am coding a bot in discord.js, but I encounter a problem like this, the slash commands that I have previously used in the bot appear in discord, how can I remove them?

Button interaction how to get the guild cache from former command
```js
const { EmbedBuilder, ButtonBuilder, ButtonStyle, ActionRowBuilder } = require('discord.js')
module.exports = {
data: {
name: 'rbcy'...