Skip to content

Commit e69339c

Browse files
committed
fix: restart command embed
1 parent 4f5d781 commit e69339c

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/discord/commands/restartCommand.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ module.exports = {
77
moderatorOnly: true,
88

99
execute: async (interaction) => {
10-
const restartEmbed = new Embed(15548997, "Restarting...", "The bot is restarting. This might take few seconds.", {
11-
text: `by @george_filos | /help [command] for more information`,
12-
iconURL: "https://cdn.discordapp.com/avatars/177083022305263616/4ee1d5f278a36a61aa9164b9263c8722.webp"
13-
});
10+
const restartEmbed = new Embed().setTitle("Restarting...").setDescription("The bot is restarting. This might take few seconds.");
1411

1512
interaction.followUp({ embeds: [restartEmbed] });
1613

@@ -21,10 +18,7 @@ module.exports = {
2118
app.connect();
2219
});
2320

24-
const successfulRestartEmbed = new Embed(2067276, "Success!", "The bot has been restarted successfully.", {
25-
text: `by @george_filos | /help [command] for more information`,
26-
iconURL: "https://cdn.discordapp.com/avatars/177083022305263616/4ee1d5f278a36a61aa9164b9263c8722.webp"
27-
});
21+
const successfulRestartEmbed = new Embed().setTitle("Success").setDescription("The bot has been restarted successfully.");
2822

2923
interaction.followUp({ embeds: [successfulRestartEmbed] });
3024
}

0 commit comments

Comments
 (0)