NyR
NyR
DIAdiscord.js - Imagine an app
Created by DasHund007 on 2/14/2025 in #djs-questions
discord bot dashboard
This is not really a d.js question. Should ask in #other-js-ts
3 replies
DIAdiscord.js - Imagine an app
Created by Alix on 2/13/2025 in #djs-questions
subcommand not showing
Yeah so you did not re deploy
34 replies
DIAdiscord.js - Imagine an app
Created by Alix on 2/13/2025 in #djs-questions
subcommand not showing
What does it show in discord? Can you show that?
34 replies
DIAdiscord.js - Imagine an app
Created by Alix on 2/13/2025 in #djs-questions
subcommand not showing
Did you try to run that command? If it is outdated discord will tell you and auto-refresh your commands, if not then you didn't deploy your commands properly
34 replies
DIAdiscord.js - Imagine an app
Created by !Delta! on 2/4/2025 in #djs-questions
User get Issue
That's not a d.js issue. The user is not cached by your discord client so the mention doesn't resolve
9 replies
DIAdiscord.js - Imagine an app
Created by Sambeano on 1/30/2025 in #djs-questions
Bot running 2 commands at once
Also, you'd benifit from having a command handler instead of multiple if..else
18 replies
DIAdiscord.js - Imagine an app
Created by Sambeano on 1/30/2025 in #djs-questions
Bot running 2 commands at once
You are not comparing the commandName, you are reassigning it. Which will return the reassigned name and a non-empty string will always be truthy. So all your if statements runs. See the tag
18 replies
DIAdiscord.js - Imagine an app
Created by Flotty on 1/30/2025 in #djs-questions
Issue with "custom" autocomplete
Check if you are getting any errors in the console. Autocomplete needs to be responded within 3 sec, and since you are doing async operations (db call) it maybe taking longer. Another cause would be if you suggestions exceeds the 25 choices limits. In either case, an error would tell you
22 replies
DIAdiscord.js - Imagine an app
Created by Gtto₇₀₇₇₄ on 1/28/2025 in #djs-questions
what's wrong?
What i said?
50 replies
DIAdiscord.js - Imagine an app
Created by Gtto₇₀₇₇₄ on 1/28/2025 in #djs-questions
what's wrong?
You cutoff the only relevant part, and that code is just wrong, you are not actually passing the guild id to the applicationGuildCommands method, and i suspect you do as a second parameter to put method and close the parenthesis without actually passing the body
50 replies
DIAdiscord.js - Imagine an app
Created by Gtto₇₀₇₇₄ on 1/28/2025 in #djs-questions
what's wrong?
Show your register-command.js
50 replies
DIAdiscord.js - Imagine an app
Created by Gtto₇₀₇₇₄ on 1/28/2025 in #djs-questions
what's wrong?
How you are using it?
50 replies
DIAdiscord.js - Imagine an app
Created by Gtto₇₀₇₇₄ on 1/28/2025 in #djs-questions
what's wrong?
Okay, but how are you using it? Put where? Show the relevent code
50 replies
DIAdiscord.js - Imagine an app
Created by BoxWithout on 1/25/2025 in #djs-questions
My collector isn't triggering, but is being created. There are no errors in console.
Oh right, yeah you need to resolve the promise, the await i was talking about is for creating the collector, it's not async
24 replies
DIAdiscord.js - Imagine an app
Created by BoxWithout on 1/25/2025 in #djs-questions
My collector isn't triggering, but is being created. There are no errors in console.
Can you log retryMessage ?
24 replies
DIAdiscord.js - Imagine an app
Created by BoxWithout on 1/25/2025 in #djs-questions
My collector isn't triggering, but is being created. There are no errors in console.
Yes, it'll be removed in v15, that should work
24 replies
DIAdiscord.js - Imagine an app
Created by BoxWithout on 1/25/2025 in #djs-questions
My collector isn't triggering, but is being created. There are no errors in console.
Also await is useless there
24 replies
DIAdiscord.js - Imagine an app
Created by BoxWithout on 1/25/2025 in #djs-questions
My collector isn't triggering, but is being created. There are no errors in console.
Alternatively, the better option is using withResponse: true if you have latest d.js which will return InteractionCallbackResponse, which returns the created message, so you can do <response>.resources.message.createMessageComponentCollector()
24 replies