Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new chat command: stats #395

Open
jmakhack opened this issue Nov 8, 2022 · 0 comments
Open

Add new chat command: stats #395

jmakhack opened this issue Nov 8, 2022 · 0 comments
Labels
enhancement New feature or request java Pull requests that update Java code
Milestone

Comments

@jmakhack
Copy link
Owner

jmakhack commented Nov 8, 2022

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 jmakhack added enhancement New feature or request java Pull requests that update Java code labels Nov 8, 2022
@jmakhack jmakhack added this to the v2.0.0 milestone Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request java Pull requests that update Java code
Projects
None yet
Development

No branches or pull requests

1 participant