Swiddis / word-debt-bot

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

Add units to log command #48

Closed Swiddis closed 4 months ago

Swiddis commented 4 months ago

Adds the ability to specify units in the log command. When there's a string after the log value, it checks if that string is a unit, and applies the scaling factor if relevant. This also allows logging audiobook hours.

Issues

codecov-commenter commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.22%. Comparing base (233a664) to head (30e8e36). Report is 1 commits behind head on dev.

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #48 +/- ## ========================================== + Coverage 92.17% 92.22% +0.04% ========================================== Files 10 10 Lines 358 360 +2 ========================================== + Hits 330 332 +2 Misses 28 28 ```

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