Skip to content

Commit

Permalink
fix: code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
lukazbaum committed Jan 12, 2025
1 parent e4487c1 commit 3c0deb3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/commands/slash/misc/reload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@ export default new SlashCommand({
await client.reloadCommands();
await client.reloadComponents();

embed.setTitle('Reload Successful').setColor(Colors.Green);
embed
.setTitle('Reload Successful')
.setColor(Colors.Green);
} catch (err) {
embed.setTitle('Reload Failed').setDescription('An error occurred while reloading.').setColor(Colors.Red);
embed
.setTitle('Reload Failed')
.setDescription('An error occurred while reloading.')
.setColor(Colors.Red);
}

await interaction.reply({ embeds: [embed], ephemeral: true });
Expand Down

0 comments on commit 3c0deb3

Please sign in to comment.