hydrate-reminder icon indicating copy to clipboard operation
hydrate-reminder copied to clipboard

Add new chat command: stats

Open jmakhack opened this issue 1 year ago • 0 comments

Note: ~~This is dependent on #356 so work cannot start on this issue until #356 is first completed.~~ Work can get started before #356 is finished by just following the json schema presented in that issue.

Feature Reasoning

Given that command usage stats are now stored in a json file, it would be neat to have a chat command to read out those stat values.

Feature Description

As part of #356, basic usage stats on all chat commands are now stored as part of a json file. This feature is to implement a new chat command such that running ::hr stats (or abbreviated ::hr s) will display that usage data in the chat window.

It should be displayed similarly to: Usage stats: help - 6, prev - 8, next - 12, ....

Possible Alternatives

Any possible alternatives for how the stats are displayed in the chat window may be acceptable.

Additional Context

Please refer to CONTRIBUTING.md for info on how to setup, build, run, and test this project.

jmakhack avatar Nov 08 '22 12:11 jmakhack