From 94821f6f5ae15bc72e07ac092d98083b98fb0dbd Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 17 Oct 2019 10:29:13 -0400 Subject: [PATCH] Allow days in uptime --- commands/util/info.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/util/info.js b/commands/util/info.js index 1c26e743..d2c6e825 100644 --- a/commands/util/info.js +++ b/commands/util/info.js @@ -31,7 +31,7 @@ module.exports = class InfoCommand extends Command { .addField('❯ Source Code', source ? `[Here](https://github.com/${XIAO_GITHUB_REPO_USERNAME}/${XIAO_GITHUB_REPO_NAME})` : 'N/A', true) .addField('❯ Memory Usage', `${Math.round(process.memoryUsage().heapUsed / 1024 / 1024)}MB`, true) - .addField('❯ Uptime', moment.duration(this.client.uptime).format('hh:mm:ss', { trim: false }), true) + .addField('❯ Uptime', moment.duration(this.client.uptime).format('d:hh:mm:ss'), true) .addField('❯ Version', `v${version}`, true) .addField('❯ Node Version', process.version, true) .addField('❯ Dependencies', this.parseDependencies()); diff --git a/package.json b/package.json index 9b497d6f..b911d545 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "107.7.3", + "version": "107.7.4", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {