From 732d7388c50977fe121854ed9e2c196b4f91f91e Mon Sep 17 00:00:00 2001 From: mik Date: Wed, 24 Feb 2021 17:03:57 +0100 Subject: [PATCH] Update oidacount.js --- commands/oidacount.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/commands/oidacount.js b/commands/oidacount.js index 79d9f23..e59720b 100644 --- a/commands/oidacount.js +++ b/commands/oidacount.js @@ -50,11 +50,13 @@ module.exports = { if (leaderboardString.length + row.length > (2000 - 3)) { break; } - leaderboardString += row; + if (x.count != 0) { + leaderboardString += row; + } } leaderboardString += "```"; return message.channel.send(leaderboardString); }); }, -}; \ No newline at end of file +};