Testing
Currently the code is completely uncovered by tests. Figure out what parts of the code can be tested easily and which require more work. For a start the services that don't depend on Discord should be tested. Try to find good examples how to test the stuff that is more tightly coupled to Discord like command handling.
Hi! I could give this a shot if available.
Hi! Sure - that would be great actually! Testing is where I am currently most lacking, so if you have good ideas how to approach it, I am open for any suggestions.
I suppose we could start with basic unit tests and foloow them up with integration tests (though I'm not sure how to handle this one for a console application/Discord bot)
Seems reasonable to start with the Unit Tests. As for integration testing I think it could work if we spin up a second Bot that acts as "client", i.e. issues commands with both correct and incorrect input and observes the responses. I am not sure if we want to go down that path though as it will involve a lot of string magic.
Unit tests done by #251