From cf1382d88c5e3298923c8cb243b7bc5751e68b53 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 2 Mar 2025 22:27:57 -0500 Subject: Ported more commands; Made embed colour a const; Cleanup --- bot/src/commands/about.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bot/src/commands/about.js') diff --git a/bot/src/commands/about.js b/bot/src/commands/about.js index c75391a..8d3efab 100644 --- a/bot/src/commands/about.js +++ b/bot/src/commands/about.js @@ -6,6 +6,7 @@ import { ButtonStyle } from 'discord.js'; import { readFileSync } from 'node:fs'; +import { abEmbedColour } from '../storage/consts.js'; const { version } = JSON.parse(readFileSync('./package.json', 'utf-8')); @@ -18,11 +19,12 @@ export default { .setAuthor({ name: `AleeBot ${version}`, iconURL: interaction.client.user.avatarURL() }) .addFields( { name: 'About AleeBot', value: 'AleeBot is an all-in-one bot that\'s made from the Discord.JS API!' }, + { name: 'Servers', value: `${interaction.client.guilds.cache.size}` }, { name: 'License', value: 'GNU General Public License v3.0' }, { name: 'Contributors', value: '- <@297201585090723841> (Uptime command from 2.x)' } ) .setFooter({ text: '© Copyright 2017-2025 Andrew Lee Projects' }) - .setColor('#1fd619'); + .setColor(abEmbedColour); let Buttons = new ActionRowBuilder() .addComponents( -- cgit v1.2.3