aboutsummaryrefslogtreecommitdiff
path: root/bot/src/commands/info.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/info.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/info.js')
-rw-r--r--bot/src/commands/info.js3
1 files changed, 2 insertions, 1 deletions
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] });
}
};