DiscordAPIError[40060]: Interaction has already been acknowledged.
DiscordAPIError[40060]: Interaction has already been acknowledged.
how can i fix this if the error doesnt give me the file name or line?...Status
if I make a rice present with repl.it to have a custom status and have the account online 24/7, is it illegal?
can someone help fix this? im using the latest discord.js
C:\Program Files\nodejs\node.exe .\bot.js
Uncaught TypeError TypeError: Cannot read properties of undefined (reading 'FLAGS')
at <anonymous> (c:\Users\admin\Downloads\bot.js:6:17)
at Module._compile (internal/modules/cjs/loader:1256:14)
at Module._extensions..js (internal/modules/cjs/loader:1310:10)...
Emojis in slash command "choices" not appearing
I'm trying to add emojis to the list of slash command choices (see attached image). It appears "emoji" is a valid field, however doing so does not make an emoji appear in the list of choices. Is this possible?

message.channel in DM's is null, is there a way to fill it?
As the title suggests the api doesn't send the channel in the payload for DM messages. Is there a way to fetch the channel so it isn't null in the message object?
Bot Ownership
Hello, How could I transfer the bot ownership to my friend using the source code, he also needs a 24/7 bot hosting website
Sharding is Required | Bot doesn't respond
I found out my bot stopped working and message content intents is enabled but greyed out on the Discord applications page. I updated discord.js then I'm having an error saying sharding is required. By setting the amount of shards to >= 2 the bot goes and connects however it doesn't respond.
discord.js next version?
What is this next version of discord.js? https://discord.js.org/ What will mthe difference be between discord.js v14 and that new one
interactionCreate events not working
https://srcb.in/kRXh4rWrEw
```TypeError: Do not know how to serialize a BigInt
at stringify (<anonymous>)
at Client.emit (node:events:525:35)...
Channel's position properties appear to be incoherent
Channel room-2 is positionally above channel room-1. But the cache shows that room-2's
rawPosition is 0, and it's position is 1. room-1's rawPosition also shows 0, and it's position shows 0 as well; but it is clearly in position 1 not 0. I'm owner in this server, no channels are hidden.
``js
const guild = bot.guilds.cache.get(1100538270263291904),
room2 = guild.channels.cache.get(1121985572538417164),
room1 = guild.channels.cache.get(1121985276923875370`)...
Split a string into a list and iterate through it
Good morning. So I come to ask you a somewhat dumb question, I know that to normally retrieve a list of the elements of a character string you have to use the
.split() method, except when I want to do the .length() method on my list obtained to retrieve the size of the list to make a loop that traverses it, it does not work it tells me that .length is not a valid function or method, so that probably I do not apply it not to a list. But I don't understand since normally by performing `.spl...How to add and remove a specific role to a user?
Node version = 18.16.0
Discord.js version = 14.11.0...
slashcommand button
Hi all, I have this code to allow memebr to submit photo by slashcommand, from my test if I submit 2 times [simulate 2 photo from diffrent member]
when I want to accept or reject one of them the button will affect both phots.. for example
photo 1 (accept/reject) button
photo 2 (accept/reject) button...
Unexpected token < in JSON at position 0 unhandledRejection
Does anyone know why when I host my bot in my virtual machine it doesn't go past the log 2 console? when it arrives at 3 it generates
Unexpected token < in JSON at position 0 unhandledRejection on my personal computer it works normal
Broken Command Handler
Hello! This handler was jsut working for me but when I changed the file name it just broke
