From 745f26c174a4a43b184ef36642c8c4c996cce7a4 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Sun, 12 Apr 2020 18:23:42 +0200 Subject: [PATCH] Don't count owner command --- event/listeners/commandstarted.js | 1 + 1 file changed, 1 insertion(+) diff --git a/event/listeners/commandstarted.js b/event/listeners/commandstarted.js index 2f4965ae..380eddc7 100644 --- a/event/listeners/commandstarted.js +++ b/event/listeners/commandstarted.js @@ -49,6 +49,7 @@ class commandStartedListener extends Listener { } if (dailyStats) { + if (command.category.id == 'owner') return; // Don't count owner command let obj = { guild: message.guild.id, command: command.id