Silver
Explore posts from serversSIASapphire - Imagine a framework
•Created by Silver on 11/23/2024 in #sapphire-support
Updating paginated message pages while the handler is running
I'm trying to make a paginated message that can be updated after its creation.
My command currently:
1. Responds with the paginated message with data from the database
2. Fetches new data from an API in the background
3. Updates the pages of the paginated message with this new data
I'm currently using the following code to handle the "background task" logic:
This works but after the update happens the components of the paginated message don't respond anymore and result in
This interaction failed
.
Is there a different way to go about this? Because I essentially just need to reload/refresh the current page.3 replies
DIAdiscord.js - Imagine an app
•Created by Silver on 3/13/2024 in #djs-questions
Are forum posts supported for channel select menu default_values?
10 replies
SIASapphire - Imagine a framework
•Created by Silver on 8/21/2023 in #sapphire-support
Error: Module did not self-register
I'm getting this error when I run my tests for some reason, how can I solve this?
8 replies
SIASapphire - Imagine a framework
•Created by Silver on 6/26/2023 in #sapphire-support
How can I bypass required user permissions?
I want developers to be able to bypass them
I can probably override the
parseConstructorPreConditionsRequiredUserPermissions
method so it adds an extended/custom precondition but that's my last resort since it feels hacky9 replies
SIASapphire - Imagine a framework
•Created by Silver on 6/24/2023 in #sapphire-support
I'm not receiving any Context Menu Command interactions
6 replies