NyR
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 async24 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
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.
Pass
fetchReply: true
to your reply options24 replies
DIAdiscord.js - Imagine an app
•Created by skybird23333 on 1/21/2025 in #djs-questions
ChatInputCommandInteraction vs CommandInteraction
Where as the former is just chatinput
6 replies
DIAdiscord.js - Imagine an app
•Created by skybird23333 on 1/21/2025 in #djs-questions
ChatInputCommandInteraction vs CommandInteraction
CommandInteraction includes both context menu and chat input command
6 replies
DIAdiscord.js - Imagine an app
•Created by Cookie on 1/20/2025 in #djs-questions
Responding to a button interaction received from the gateway to launch activity
Although this is not strictly d.js related and you should move to #other-js-ts
4 replies
DIAdiscord.js - Imagine an app
•Created by Cookie on 1/20/2025 in #djs-questions
Responding to a button interaction received from the gateway to launch activity
And what errors do you get on you console?
- Post full error stack - Show your code
4 replies
DIAdiscord.js - Imagine an app
•Created by Bacio001 on 1/16/2025 in #djs-questions
Dual Hosting
It's your bot. So you should know if you are dual hosting or not. But if for some reason, you are unsure. Just reset the token
12 replies
DIAdiscord.js - Imagine an app
•Created by LukeZ on 1/14/2025 in #djs-questions
Message cannot be edited
You can just do this then ^
31 replies
DIAdiscord.js - Imagine an app
•Created by LukeZ on 1/14/2025 in #djs-questions
Message cannot be edited
I'm not sure what you are hoping to achieve by doing this
Object.assign({}, cachedData)
31 replies
DIAdiscord.js - Imagine an app
•Created by LukeZ on 1/14/2025 in #djs-questions
Message cannot be edited
Do not use it? Why do you even need to use it? From the looks of it, you are assigning it to an empty object, why not simply return it as is?
31 replies
DIAdiscord.js - Imagine an app
•Created by LukeZ on 1/14/2025 in #djs-questions
Message cannot be edited
Well, there's your issue then.
Object.assign
only copies the enumerable properties. <Message>.client is not enumerable31 replies