Adds integration test for rates cog. Splits logic of main loop into separate function to be more testable. Also introduces a few custom exceptions to improve readability when error handling.
- fix: Add custom exception classes and move rates cog logic to separate function
test: Fix broken tests and reuse sample_bot fixture
fix: Update config to use plural form of rates urls
Fixes #26 (btw, this should link automatically)
Adds integration test for rates cog. Splits logic of main loop into separate function to be more testable. Also introduces a few custom exceptions to improve readability when error handling.
- fix: Add custom exception classes and move rates cog logic to separate function