#handling collected data from interactions

4 messages · Page 1 of 1 (latest)

rich ibex

How would I handle the data which I get from my different interactions. I seperated every interaction to its own handler(Single-responsiblility-principle) e.g. Slashcommands/Buttons/SelectMenu/modal. Im building now a registration slashcommand where I have something like a stepper/wizard the user needs to answer multiple question to get through the registration process. In the end i want to collect all data from the interactions and send a request to my api. How would I solve this issue?

past heathBOT
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
tame minnow

write them to a database

rich ibex

actaully my bot should not have any logic inside i want to handle everything over my api