After each question is asked by the bot, and an answer is given, these are saved to memory until the final question and it's all written to disk.
If the user waits too long at a certain question and the buttons time out (2 minutes?) the entire entry is scrapped, except for the first modal which is already saved immediately.
Make each question save immediately to the DB as it's answered.
After each question is asked by the bot, and an answer is given, these are saved to memory until the final question and it's all written to disk.
If the user waits too long at a certain question and the buttons time out (2 minutes?) the entire entry is scrapped, except for the first modal which is already saved immediately.
Make each question save immediately to the DB as it's answered.