diff --git a/src/localization/en_gb/commands/en_gb_developer.lang b/src/localization/en_gb/commands/en_gb_developer.lang index 7de9f56..febbeaf 100644 --- a/src/localization/en_gb/commands/en_gb_developer.lang +++ b/src/localization/en_gb/commands/en_gb_developer.lang @@ -11,7 +11,7 @@ __**Main Process**__ **Threads:** {cores} **Memory:** {memoryUsed}/{memoryTotal}GB **OS Type:** {osType} -**System Uptime:** +**System Uptime:** {uptime} [COMMAND_STATS_MAIN_VALUE] **Library:** Discord.js diff --git a/src/structure/components/commands/developer/Stats.js b/src/structure/components/commands/developer/Stats.js index d3b3241..1a9be1a 100644 --- a/src/structure/components/commands/developer/Stats.js +++ b/src/structure/components/commands/developer/Stats.js @@ -11,7 +11,7 @@ class StatsCommand extends SlashCommand { module: 'developer', aliases: [ ], description: 'Statistics about the bot', - restricted: true, + // restricted: true, arguments: [ { name: 'log', @@ -98,7 +98,7 @@ class StatsCommand extends SlashCommand { memoryUsed: (memoryTotal - memoryFree).toFixed(1), memoryTotal, osType: os.type(), - uptime: Math.floor(Date.now()/1000) - os.uptime(), + uptime: Util.humanise(Math.floor(Date.now()/1000) - os.uptime()), hostname: os.hostname() };