Swiddis / word-debt-bot

A Discord bot for running a little reading game.
MIT License
2 stars 2 forks source link

Add cumulative words read to info output #49

Closed Swiddis closed 4 months ago

Swiddis commented 4 months ago

Introduces a Journal class related to #15, and uses it to add cumulative words read to the info output. Still some work to do to add it to the leaderboard (since leaderboard doesn't construct in the same scope that the journal is available in-scope), but this can at least get us started.

Closes #25.

codecov-commenter commented 4 months ago

Codecov Report

Attention: Patch coverage is 93.93939% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 92.40%. Comparing base (dc6ba2d) to head (af336b6).

Files Patch % Lines
src/word_debt_bot/cogs/game_commands.py 87.50% 1 Missing :warning:
src/word_debt_bot/game/journal.py 95.83% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #49 +/- ## ========================================== + Coverage 92.22% 92.40% +0.18% ========================================== Files 10 11 +1 Lines 360 382 +22 ========================================== + Hits 332 353 +21 - Misses 28 29 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.