Don't count owner command

This commit is contained in:
loicbersier 2020-04-12 18:23:42 +02:00
parent c2a57fdc46
commit 745f26c174

View file

@ -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