jmakhack/hydrate-reminder

Track chat command usage in stats json file

jmakhack opened this issue · 6 comments

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.json whenever 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.

Hi @jmakhack
Can I have this one?

Go for it @ron-huberfeld :)

@ron-huberfeld, just checking in. Are you still planning to work on this?

Yes. Is it urgent. I'm a bit busy at the moment but still want to do it.

@ron-huberfeld, no worries. Just checking in on all the assigned issues :)

Hi @jmakhack is this issue still open and count for hacktoberfest 2023?