When I first switched everything over to using TinyDb, there was no way to specify a custom doc id for entries in the tables. Since then, that feature was released. This PR uses the Discord ID of everyone to key their entry in each of the tables. This makes queries much easier and even a little quicker.
Also made AWS.writeRemoteLeaderboard a thread in Leaderboard.py that allows the function to return without having to wait for the remote leaderboard to be updated.
When I first switched everything over to using TinyDb, there was no way to specify a custom doc id for entries in the tables. Since then, that feature was released. This PR uses the Discord ID of everyone to key their entry in each of the tables. This makes queries much easier and even a little quicker.
Also made
AWS.writeRemoteLeaderboard
a thread inLeaderboard.py
that allows the function to return without having to wait for the remote leaderboard to be updated.Also other small bug fixes I noticed.