fix(bot): 🐛 Leaderboards call count not being updated.
This commit is contained in:
@@ -59,7 +59,7 @@ class Users(base.Cog):
|
||||
users_map[user_map[0]].leaderboard_position = i + 1
|
||||
users_map[user_map[0]].leaderboard_calls_count = user_map[1]
|
||||
|
||||
await models.User.bulk_update(users_map.values(), ["leaderboard_position"], 500)
|
||||
await models.User.bulk_update(users_map.values(), ["leaderboard_position", "leaderboard_calls_count"], 500)
|
||||
|
||||
@commands.command()
|
||||
@transactions.atomic()
|
||||
|
||||
Reference in New Issue
Block a user