Rhae
Rhae
DIAdiscord.js - Imagine an app
Created by #ToiYeuSweetLiquor <3 on 4/22/2025 in #djs-questions
Deno or Bun support ?
I use bun with djs - all works fine
13 replies
DIAdiscord.js - Imagine an app
Created by Elyana on 5/7/2023 in #djs-questions
Running 2 differents files on the same bot ?
Then you would need to add the collector in the interactionCreate event, not the command itself to have it persist through bot restarts, so that when the event fires through a button interaction or whatever, it'll look for that button customId
16 replies
DIAdiscord.js - Imagine an app
Created by Elyana on 5/7/2023 in #djs-questions
Running 2 differents files on the same bot ?
Just don't put a time limit
16 replies
DIAdiscord.js - Imagine an app
Created by Elyana on 5/7/2023 in #djs-questions
Running 2 differents files on the same bot ?
Yes commands can have their own collector just fine. It's still a ChatInputCommand (slash command)
16 replies
DIAdiscord.js - Imagine an app
Created by Elyana on 5/7/2023 in #djs-questions
Running 2 differents files on the same bot ?
You're overcomplicating your interactionCreate event file. You don't need to have a separate if statement for each command as they're the same interaction (chatinput). Only if statements you should have there from the code you're putting out is if (interaction.isChatInputCommand()) {...} if (interaction.isAutocomplete() {..}
16 replies
DIAdiscord.js - Imagine an app
Created by ! Mur Lee on 4/23/2023 in #djs-questions
DiscordAPIError[40060]: Interaction has already been acknowledged.
Hm try to await your reply in your if statement in the slash. Honestly, you have so may nested ifs but if it's worked before from your interactionCreate file, then try to await it.
10 replies
DIAdiscord.js - Imagine an app
Created by ! Mur Lee on 4/23/2023 in #djs-questions
DiscordAPIError[40060]: Interaction has already been acknowledged.
Show your interactionCreate file
10 replies
DIAdiscord.js - Imagine an app
Created by Ashura on 4/22/2023 in #djs-questions
How do i access an embed of a message trought its message id?
Fetch the message and can use message.embeds to get an array if there is any
3 replies