Papalo007
Explore posts from serversDIAdiscord.js - Imagine a bot
•Created by Papalo007 on 9/19/2024 in #djs-questions
Getting slash commands
const commandsColl = await client.application.commands.fetch();
I use this to get all the commands and then I try to iterate through the collection with
But the terminal doesnt say anything so the for loop never started24 replies
DIAdiscord.js - Imagine a bot
•Created by Papalo007 on 9/12/2024 in #djs-questions
How to handle sub commands?
11 replies
DIAdiscord.js - Imagine a bot
•Created by Papalo007 on 7/10/2024 in #djs-questions
Unknown Interaction error
10% of the time, when I'm running a command, I get the Unknown Interaction error for 1 or 2 minutes straight, and then it goes back to normal. I defer the reply at the top of every command (well inside the execute), I have a collector in only 1 of my commands and it does have the correct interaction object and I am the only one running the command so just 1 process is handling the same command (saying this cuz of the /tag thing). I'm guessing it has to do with my interactionCreate file. I asked for help in another discord js coding server and a mod there tried to help me fix it, but we couldn't so I'm posting it here.
30 replies