DiscordHandler -> Main.gotMsg -> return if bot; -> CommandHandler.processCommand -> (todo channel || command succesful)? -> respond with tick or X (if sth went wrong) -> delete message after some time:
- todo -> make new JsonObject -> title: ; created: ; -> Questionare.startQuests() -> for each quest:(askQuest -> add answer options -> wait for answer or timeout -> timeout:(add list: "timeouts" + time); cancel(add list "cancel" + time); answered(save add "quest": "new JsonObject(time, answer)" -> goToNextQuest)) -> send message in todo with title + emotes -> save msg id in jsonObject -> save JsonObject
- song -> like todo but diff quests... -> could also search for the song already?
- addQuest (for enum: [])
- somehow acces a description || log || attributList
- edit some attribute -> CRUD
DiscordHandler -> Main.gotMsg -> return if bot; -> CommandHandler.processCommand -> (todo channel || command succesful)? -> respond with tick or X (if sth went wrong) -> delete message after some time: