From 81c42a4d293ac82295f69340247db2db3c567fee Mon Sep 17 00:00:00 2001
From: unknown <loic.bersier1@gmail.com>
Date: Tue, 18 Sep 2018 01:52:03 +0200
Subject: [PATCH] added days

---
 commands/utility/stats.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/commands/utility/stats.js b/commands/utility/stats.js
index 1f1b10b..2ec374e 100644
--- a/commands/utility/stats.js
+++ b/commands/utility/stats.js
@@ -11,11 +11,12 @@ module.exports = class MeowCommand extends Command {
 
     async run(message) {
         let totalSeconds = (this.client.uptime / 1000);
+        let days = Math.floor(totalSeconds / 86400);
         let hours = Math.floor(totalSeconds / 3600);
         totalSeconds %= 3600;
         let minutes = Math.floor(totalSeconds / 60);
         let seconds = totalSeconds % 60;
-        let uptime = `${hours} hours, ${minutes} minutes and ${seconds} seconds`;
+        let uptime = `${days} days, ${hours} hours, ${minutes} minutes and ${seconds} seconds`;
         return message.channel.send(`Servers: \`${this.client.guilds.size}\`\nChannels: \`${this.client.channels.size}\`\nUsers: \`${this.client.users.size}\`\nBot uptime: \`${uptime}\``);
     }
 };
\ No newline at end of file