Skip to content
This repository was archived by the owner on Jan 10, 2022. It is now read-only.
This repository was archived by the owner on Jan 10, 2022. It is now read-only.

Better user logging #108

@ewang2002

Description

@ewang2002

Instead of having defined properties for each user document, we can have an array of objects, where each object has a key and value property. In this sense, we are able to infinitely "expand" our logging capabilities. For example, instead of having a set property for logging runs, we can have something like this:

[
	{key: "COMPLETED_<dungeon id>_RUNS", guildId: "guild id", value: 15},
	{key: "FAILED_<dungeon id>_RUNS_<guild id>", guildId: "guild id", value: 1}
	// ...
]

In this sense, no longer need to add properties when something new comes out. Instead, we can simply "push" properties into an array of all properties.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthigh priorityIssues that need to be acknowledged as soon as possible.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions