From eb3e277c4a3de93008d222a883502318133d63b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bersier?= Date: Sat, 15 Jun 2019 21:54:01 +0200 Subject: [PATCH] Show version of discord.js and discord-akairo --- commands/utility/stats.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/commands/utility/stats.js b/commands/utility/stats.js index 6cd1011..0d60ba4 100644 --- a/commands/utility/stats.js +++ b/commands/utility/stats.js @@ -1,5 +1,6 @@ const { Command } = require('discord-akairo'); -const { MessageEmbed } = require('discord.js'); +const akairoVersion = require('discord-akairo').version; +const { MessageEmbed, version } = require('discord.js'); class StatsCommand extends Command { constructor() { @@ -33,7 +34,9 @@ class StatsCommand extends Command { .addField('Users', this.client.users.size, true) .addField('Uptime', uptime, true) .addField('Ram usage', `${Math.round(used * 100) / 100} MB`, true) - .addField('Nodejs version', process.version) + .addField('Nodejs version', process.version, true) + .addField('Discord.js version', version, true) + .addField('Discord-Akairo version', akairoVersion, true) .setTimestamp(); return message.channel.send(statsEmbed);