Swiddis / word-debt-bot

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

Add set command and add get info by display name #45

Closed azhitian closed 5 months ago

azhitian commented 5 months ago

Closes #35

You can set your display name with .set name 😸:angery:🥰:shibthumbsup: and your languages with .set languages 🇹🇼🇹🇼🇹🇼

Info now also shows an @ mention (without pinging) of the user and their languages

Since display names will be in the leaderboard, it makes sense to be able to search for user info by them. We could also include @ mentions in the leaderboard, but I feel like this defeats the purpose of setting your own display name

codecov-commenter commented 5 months ago

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (b0d8adb) 89.93% compared to head (32e4513) 92.17%.

Files Patch % Lines
src/word_debt_bot/game/core.py 93.33% 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 #45 +/- ## ========================================== + Coverage 89.93% 92.17% +2.24% ========================================== Files 10 10 Lines 318 358 +40 ========================================== + Hits 286 330 +44 + Misses 32 28 -4 ```

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

azhitian commented 5 months ago

Addressed feedback