From a190e6cfc68f8ba6243926cc5719637d06e71166 Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Wed, 3 Aug 2022 19:36:49 -0700 Subject: [PATCH] include bot version in stats --- commands/stats.js | 2 +- config/config.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/stats.js b/commands/stats.js index 786200d..520b46d 100644 --- a/commands/stats.js +++ b/commands/stats.js @@ -29,11 +29,11 @@ module.exports = { .setTitle('QuarksBot Statistics') .addFields( { name: 'Guilds', value: `${client.guilds.cache.size}`, inline: true }, - { name: 'Channels', value: `${client.channels.cache.size}`, inline: true }, { name: 'Users', value: `${client.users.cache.size}`, inline: true }, { name: 'Latency', value: `${end - start}ms`, inline: true }, { name: 'Uptime', value: `${client.secondsToDhms(process.uptime().toFixed(2))}`, inline: true }, { name: 'Commands run', value: `${client.commandsRun}`, inline: true } + { name: 'Bot Version', value: `${client.config.Dev} v${client.config.Version}`, inline: true } ) return interaction.send({ embeds: [stats] }) diff --git a/config/config.js b/config/config.js index 43fcf79..aac08c3 100644 --- a/config/config.js +++ b/config/config.js @@ -1,6 +1,6 @@ module.exports = { - Dev: "PROD", - Version: "1.4.0", + Dev: "PROD.", + Version: "1.4.1", Admins: ["362791661274660874", "329371697570381824"], // Admins of the bot DefaultPrefix: "?", ServerID: "955668596745461830",