aboutsummaryrefslogtreecommitdiff
path: root/commands/about.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/about.js')
-rw-r--r--commands/about.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/commands/about.js b/commands/about.js
index a493288..c0efcfa 100644
--- a/commands/about.js
+++ b/commands/about.js
@@ -1,4 +1,5 @@
-import { SlashCommandBuilder, EmbedBuilder } from 'discord.js';
+import { SlashCommandBuilder, EmbedBuilder, version } from 'discord.js';
+import { release, platform } from 'node:os'
export default {
data: new SlashCommandBuilder()
@@ -6,11 +7,14 @@ export default {
.setDescription('Gets information about Shrimpbot'),
async execute(interaction, bot) {
const aboutEmbed = new EmbedBuilder()
+ .setImage('https://cdn.discordapp.com/attachments/344244531274711042/1055302911980220436/Banner_18.png')
.addFields(
{ name: 'ShrimpBot 18.2022.12.21 (NO ROYCE\'S ANIME FANTASY EDITION)', value: 'by Alee (JS Edition), Squid Grill (C# Edition) (and open source contributors)' },
- { name: 'Hosting', value: 'Placeholder' },
- { name:'Links', value:'Insert links' }
+ { name: 'Hosting', value: `Node.JS ${process.version}\nDiscord.JS ${version}\n${platform().charAt(0).toUpperCase() + platform().slice(1)} ${release()}` },
+ { name:'Links', value:'Official ShrimpBot Discord Server: https://discord.gg/fuJ6J4s\nGitHub Repository: https://github.com/Alee14/shrimpbot-js' }
)
+ .setFooter({ text: 'Thank you for using ShrimpBot! ❤' })
+ .setColor('#338BC1')
return await interaction.reply({ embeds: [aboutEmbed] });
}
};