Open stefanhendriks opened 6 years ago
Currently the bot is a whole big bunch of if statements. A good way to deal with this is a state machine.
It also makes it way easier to think about the bot and deduce how it behaves. Now it is one big ball of ifs and maybes :/
+1 for future me
working on #17 makes me wonder how I ever could work with this codebase without a sane state machine...
Currently the bot is a whole big bunch of if statements. A good way to deal with this is a state machine.
It also makes it way easier to think about the bot and deduce how it behaves. Now it is one big ball of ifs and maybes :/