diff --git a/src/commands/about.js b/src/commands/about.js index b896e4e..095bb49 100644 --- a/src/commands/about.js +++ b/src/commands/about.js @@ -1,4 +1,5 @@ -const { Command } = require('discord-akairo'); +const { Command, version: akairoVersion } = require('discord-akairo'); +const { version: djsVersion } = require('discord.js'); class AboutCommand extends Command { constructor() { @@ -11,7 +12,15 @@ class AboutCommand extends Command { exec(message) { return message.util.send([ 'Comp_iler is made by 1Computer.', - 'Source code is available at .' + 'Source code is available at .', + '', + `**Guilds**: ${this.client.guilds.size}`, + `**Channels**: ${this.client.channels.size}`, + `**Users**: ${this.client.users.size}`, + '', + `**Memory Usage**: ${(process.memoryUsage().heapUsed / 1024 / 1024).toFixed(2)} MB`, + `**Discord.js**: v${djsVersion}`, + `**Akairo**: v${akairoVersion}` ]); } }