FM
SIASapphire - Imagine a framework
•Created by FM on 11/6/2024 in #sapphire-support
how to pass variables from one interaction into the next?
this is my current workflow concept:
1. user runs slash command
2. modal pops up, user enters email
3. bot validates email against regex, API service
4. if no account is found on service that matches the email, a message is provided with the option for the bot to create an account on the service on behalf of the user using the provided email
5. user selects the "Create Account" button
when the user enters their email in the initial modal, it is stored as a variable in the modal interaction handler. how do i pass that variable into the button handler? is there a way to do this internally without explicitly exporting the variable?
46 replies
SIASapphire - Imagine a framework
•Created by FM on 10/8/2024 in #sapphire-support
[ERROR] Encountered error on event listener "CorePreChatInputCommandRun"
I'm getting this error repeatedly on an OwnerOnly precondition:
7 replies