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/info.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bot/src/commands/info.js') diff --git a/bot/src/commands/info.js b/bot/src/commands/info.js index e9de440..64d8f7a 100644 --- a/bot/src/commands/info.js +++ b/bot/src/commands/info.js @@ -1,5 +1,6 @@ import { SlashCommandBuilder, EmbedBuilder, version } from 'discord.js'; import { hostname, platform, release } from 'os'; +import { abEmbedColour } from '../storage/consts.js'; export default { data: new SlashCommandBuilder() @@ -15,7 +16,7 @@ export default { { name: 'OS Platform: ', value: platform(), inline: true }, { name: 'OS Version: ', value: release(), inline: true } ) - .setColor('#1fd619'); + .setColor(abEmbedColour); return await interaction.reply({ embeds: [embed] }); } }; -- cgit v1.2.3