aboutsummaryrefslogtreecommitdiff
path: root/bot/src/commands/about.js
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2025-03-02 22:27:57 -0500
committerAndrew Lee <andrew@alee14.me>2025-03-02 22:27:57 -0500
commitcf1382d88c5e3298923c8cb243b7bc5751e68b53 (patch)
treea38351317594ed660fc80c784cdf7dbc71f5656b /bot/src/commands/about.js
parent1c253d25cb1d35aa987d76e07806999c562712d6 (diff)
downloadAleeBot-cf1382d88c5e3298923c8cb243b7bc5751e68b53.tar.gz
AleeBot-cf1382d88c5e3298923c8cb243b7bc5751e68b53.tar.bz2
AleeBot-cf1382d88c5e3298923c8cb243b7bc5751e68b53.zip
Ported more commands; Made embed colour a const; Cleanup
Diffstat (limited to 'bot/src/commands/about.js')
-rw-r--r--bot/src/commands/about.js4
1 files changed, 3 insertions, 1 deletions
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(