Skylife
DIAdiscord.js - Imagine an app
•Created by Skylife on 6/16/2024 in #djs-questions
pagination with button handler
Ah okay understood no it’s not like that every page has different data
9 replies
DIAdiscord.js - Imagine an app
•Created by Skylife on 6/16/2024 in #djs-questions
pagination with button handler
What do you mean data does not change it is possible that the data is changing
9 replies
DIAdiscord.js - Imagine an app
•Created by Skylife on 6/16/2024 in #djs-questions
pagination with button handler
the data for the embed i get through my backend(API) and my idea is now i just create one embed in the beginning then when the user press the next button i fetch the second page from my backend and edit the current embed with the new data
9 replies
DIAdiscord.js - Imagine an app
•Created by Skylife on 6/16/2024 in #djs-questions
pagination with button handler
true thx so maybe i implement paginatioon oin my api so i always fetch the current page what do you think?
9 replies
DIAdiscord.js - Imagine an app
•Created by Skylife on 6/16/2024 in #djs-questions
pagination with button handler
because when the bot restarts etc. the interaction fails
9 replies
DIAdiscord.js - Imagine an app
•Created by Skylife on 6/16/2024 in #djs-questions
pagination with button handler
9 replies
DIAdiscord.js - Imagine an app
•Created by Skylife on 6/16/2024 in #djs-questions
pagination with button handler
so what I want is to have the logic collector.on in my handleSpotNext/BackButton
9 replies
DIAdiscord.js - Imagine an app
•Created by Skylife on 5/26/2024 in #djs-questions
registration stepper/wizard
oh i was missing a costum id the error is a bit confusing do you know why i dont get a error like you are missing ...
16 replies
DIAdiscord.js - Imagine an app
•Created by Skylife on 5/26/2024 in #djs-questions
registration stepper/wizard
16 replies
DIAdiscord.js - Imagine an app
•Created by Skylife on 5/26/2024 in #djs-questions
registration stepper/wizard
but qjuh is it possible to delete the first response as well after the user pressed the yes button?
16 replies
DIAdiscord.js - Imagine an app
•Created by Skylife on 5/26/2024 in #djs-questions
registration stepper/wizard
ah okay
16 replies
DIAdiscord.js - Imagine an app
•Created by Skylife on 5/26/2024 in #djs-questions
registration stepper/wizard
but its still the same issue
16 replies
DIAdiscord.js - Imagine an app
•Created by Skylife on 5/26/2024 in #djs-questions
registration stepper/wizard
why is the interaction already sent or deferred?
16 replies
DIAdiscord.js - Imagine an app
•Created by Skylife on 5/26/2024 in #djs-questions
registration stepper/wizard
Error [InteractionAlreadyReplied]: The reply to this interaction has already been sent or deferred.
at ChatInputCommandInteraction.showModal (C:\gitrepos\tii-api\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:255:46)
at Object.execute (C:\gitrepos\tii-api\src\bot\slashCommands\register.ts:48:35)
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'InteractionAlreadyReplied'
}
16 replies
DIAdiscord.js - Imagine an app
•Created by Skylife on 5/26/2024 in #djs-questions
registration stepper/wizard
then i do all code after the button inside the collector event?
16 replies
DIAdiscord.js - Imagine an app
•Created by Skylife on 5/26/2024 in #djs-questions
registration stepper/wizard
could you explain me the workflow a bit more in detail?
i have at first a button where u need to select yes then i want to show a modal after the modal a select menu
16 replies
DIAdiscord.js - Imagine an app
•Created by Skylife on 5/26/2024 in #djs-questions
registration stepper/wizard
because after the modal i need a select menu
16 replies
DIAdiscord.js - Imagine an app
•Created by Skylife on 5/26/2024 in #djs-questions
registration stepper/wizard
is it possible to do it after i deleted the first reply?
16 replies
DIAdiscord.js - Imagine an app
•Created by Skylife on 2/22/2024 in #djs-questions
getting guild object
just when an event happens i want to check if my api is online - like a middleware so if not i can return early and notify the server owner once.
6 replies
DIAdiscord.js - Imagine an app
•Created by Hunter シ on 12/23/2023 in #djs-questions
Anyone Know how to catch this error so the bot doesn't go offline?
and handle your error accordingly
4 replies