discord.py bot code almost completely untested
circius opened this issue · comments
I should refactor the absolutely dreadful spaghetti code in dipbot.bot to make it testable.
69c2578 refactors the bot code as a discord.py "cog" and a minimal bot client, with a new 'bot_utilities' module for utility functions. significant increase in test coverage as a result.
there's still the residual question of shooting for 100% coverage by doing extensive mocking, but that can be put off for now.