aboutsummaryrefslogtreecommitdiff
path: root/bot/src/commands/info.js
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2025-03-03 11:42:27 -0500
committerAndrew Lee <andrew@alee14.me>2025-03-03 11:42:27 -0500
commitfd7f8eba960981482fabf350995bf753feebb176 (patch)
tree2bd0c85b09a04ecd8e1f20fc409eb4b8a22289a7 /bot/src/commands/info.js
parentcf1382d88c5e3298923c8cb243b7bc5751e68b53 (diff)
downloadAleeBot-fd7f8eba960981482fabf350995bf753feebb176.tar.gz
AleeBot-fd7f8eba960981482fabf350995bf753feebb176.tar.bz2
AleeBot-fd7f8eba960981482fabf350995bf753feebb176.zip
More commands ported; Almost all 2.x features have been added
Diffstat (limited to 'bot/src/commands/info.js')
-rw-r--r--bot/src/commands/info.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/src/commands/info.js b/bot/src/commands/info.js
index 64d8f7a..33e1665 100644
--- a/bot/src/commands/info.js
+++ b/bot/src/commands/info.js
@@ -7,7 +7,7 @@ export default {
.setName('info')
.setDescription('Shows information about the host.'),
async execute(interaction) {
- const embed = new EmbedBuilder()
+ const hostEmbed = new EmbedBuilder()
.setTitle('Information on AleeBot\'s Host')
.addFields(
{ name: 'OS Hostname: ', value: hostname(), inline: true },
@@ -17,6 +17,6 @@ export default {
{ name: 'OS Version: ', value: release(), inline: true }
)
.setColor(abEmbedColour);
- return await interaction.reply({ embeds: [embed] });
+ return await interaction.reply({ embeds: [hostEmbed] });
}
};