aboutsummaryrefslogtreecommitdiff
path: root/bot/src/commands/about.js
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2025-03-29 22:19:55 -0400
committerAndrew Lee <andrew@alee14.me>2025-03-29 22:19:55 -0400
commit070825d2b779b114a1c345fbca210d324bf34d53 (patch)
tree1a62f7676bc46b8bc799e8b4b486fa0ea2879f6f /bot/src/commands/about.js
parentdb6df8c2a3817a753a9b903feb6311c620a91a65 (diff)
downloadAleeBot-070825d2b779b114a1c345fbca210d324bf34d53.tar.gz
AleeBot-070825d2b779b114a1c345fbca210d324bf34d53.tar.bz2
AleeBot-070825d2b779b114a1c345fbca210d324bf34d53.zip
Quote submit stats + input validation for author/year; API changes; Use toString for some stuff
Diffstat (limited to 'bot/src/commands/about.js')
-rw-r--r--bot/src/commands/about.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/bot/src/commands/about.js b/bot/src/commands/about.js
index 22b3441..177ac47 100644
--- a/bot/src/commands/about.js
+++ b/bot/src/commands/about.js
@@ -23,12 +23,13 @@ export default {
{ name: 'License', value: 'GNU General Public License v3.0' },
{ name: 'Contributors', value:
'- <@297201585090723841> (Uptime command from 2.x)\n' +
- '- <@236279900728721409> (Eval command from 2.x)' }
+ '- <@236279900728721409> (Eval command from 2.x)'
+ }
)
.setFooter({ text: '© Copyright 2017-2025 Andrew Lee & contributors' })
.setColor(abEmbedColour);
- let Buttons = new ActionRowBuilder()
+ let aboutButtons = new ActionRowBuilder()
.addComponents(
new ButtonBuilder()
.setStyle(ButtonStyle.Link)
@@ -37,13 +38,13 @@ export default {
new ButtonBuilder()
.setStyle(ButtonStyle.Link)
.setLabel('Invite AleeBot')
- .setURL('https://discord.com/oauth2/authorize?client_id=282547024547545109'),
+ .setURL(`https://discord.com/oauth2/authorize?client_id=${interaction.client.user.id}`),
new ButtonBuilder()
.setStyle(ButtonStyle.Link)
.setLabel('Join Andrew Lee Projects')
.setURL('https://discord.gg/EFhRDqG')
);
- return await interaction.reply({ embeds: [aboutEmbed], components: [Buttons] });
+ return await interaction.reply({ embeds: [aboutEmbed], components: [aboutButtons] });
}
};