Skip to content

Commit 7e02f7a

Browse files
Add "How was I made?" to info command
1 parent 29cee52 commit 7e02f7a

1 file changed

Lines changed: 24 additions & 17 deletions

File tree

src/commands/info.ts

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,29 @@ const reloadCommand: Command = {
2424
"https://api.github.com/repos/teamboostify/boostify/contributors"
2525
);
2626

27-
const embed = new EmbedBuilder()
28-
.setColor(16712630)
29-
.setThumbnail(interaction.client.user.displayAvatarURL({ size: 2048 }))
30-
.setTitle("Bot information")
31-
.setDescription(
32-
"Boostify is a Discord bot designed to help you manage your server boosts."
33-
)
34-
.setFields({
35-
name: "Developers",
36-
value: info.data
37-
.map((user) => `[${user.login}](${user.html_url})`)
38-
.join("\n"),
39-
inline: true,
40-
})
41-
.setTimestamp();
42-
27+
const embed = new EmbedBuilder()
28+
.setColor(16712630)
29+
.setThumbnail(interaction.client.user.displayAvatarURL({ size: 2048 }))
30+
.setTitle("Bot information")
31+
.setDescription(
32+
"Boostify is a Discord bot designed to help you manage your server boosts."
33+
)
34+
.addFields(
35+
{
36+
name: "Developers",
37+
value: info.data
38+
.map((user) => `[${user.login}](${user.html_url})`)
39+
.join("\n"),
40+
inline: true,
41+
},
42+
{
43+
name: "How was I made?",
44+
value: "I was built using TypeScript and discord.js.",
45+
inline: false,
46+
}
47+
)
48+
.setTimestamp();
49+
4350
const website = new ButtonBuilder()
4451
.setStyle(ButtonStyle.Link)
4552
.setLabel("Our Website")
@@ -68,4 +75,4 @@ const reloadCommand: Command = {
6875
},
6976
};
7077

71-
export default reloadCommand;
78+
export default reloadCommand;

0 commit comments

Comments
 (0)