From 672dc6641b1a90f11074c50ad87834c368202b58 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 4 Jun 2020 14:01:25 -0400 Subject: [PATCH] Directly import command-leaderboard --- commands/util/command-leaderboard-import.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/util/command-leaderboard-import.js b/commands/util/command-leaderboard-import.js index eed2304a..8ec20eda 100644 --- a/commands/util/command-leaderboard-import.js +++ b/commands/util/command-leaderboard-import.js @@ -48,7 +48,7 @@ module.exports = class CommandLeaderboardImportCommand extends Command { if (typeof value !== 'number') continue; const found = this.client.registry.commands.get(id); if (!found || found.uses === undefined) continue; - found.uses += value; + found.uses = value; } return msg.say('Successfully imported command leaderboard.'); }