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

Leveling not logged for servers #3

Closed
Sidpatchy opened this issue Jul 11, 2023 · 1 comment
Closed

Leveling not logged for servers #3

Sidpatchy opened this issue Jul 11, 2023 · 1 comment

Comments

@Sidpatchy
Copy link
Owner

An error somewhere in the level-logging chain is causing levels to not be logged for servers. This breaks both /level and /leaderboard.

A database entry for my Discord user can be found below demonstrating the issue:

{
    "userID": "264601404562210828",
    "accentColour": "#673ab7",
    "language": "eng",
    "pointsGuildID": [
        "{\"global\":3989}"
    ],
    "pointsMessages": [
        0
    ],
    "pointsVoiceChat": [
        0
    ]
}

In this entry, the pointsGuildID field should contain numerous entries for specific guilds, but does not.

@Sidpatchy
Copy link
Owner Author

Seems as though this is a race condition issue. The whole implementation of this will be rewritten.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant