-
Notifications
You must be signed in to change notification settings - Fork 53
Track chat command usage in stats json file #356
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requesthacktoberfestThis issue qualifies for the hacktoberfest eventThis issue qualifies for the hacktoberfest eventhelp wantedExtra attention is neededExtra attention is neededjavaPull requests that update Java codePull requests that update Java codeup for grabsAny issue that is up for grabsAny issue that is up for grabs
Milestone
Description
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthacktoberfestThis issue qualifies for the hacktoberfest eventThis issue qualifies for the hacktoberfest eventhelp wantedExtra attention is neededExtra attention is neededjavaPull requests that update Java codePull requests that update Java codeup for grabsAny issue that is up for grabsAny issue that is up for grabs
Feature Reasoning
For future potential features, it would be nice to track how many times the player has used every chat command.
Feature Description
This enhancement is to increase a counter in
hydrateReminderStats.jsonwhenever any chat command is used. The result json should look like the following:{ "commandCounts" : { "help": 5, "next": 2, "prev": 11, "reset": 4, "total": 8, "party": 3, "hydrate": 8 }, "totalHydrateCount": 0 }Add unit tests and avoid repeating logic where possible. When new commands are added in the future, this logic should automatically be applied without any extra code.
Possible Alternatives
Any alternatives to the proposed schema may be acceptable.
Additional Context
Note: This work cannot be started until #350 gets merged in first.
Please refer to CONTRIBUTING.md for info on how to setup, build, run, and test this project.