Fix a bunch of linter errors
diff --git a/src/events/commandError.ts b/src/events/commandError.ts
index 2ec6a5d..ce50122 100644
--- a/src/events/commandError.ts
+++ b/src/events/commandError.ts
@@ -4,18 +4,26 @@
export async function callback(client, interaction, error) {
if (interaction.replied || interaction.deferred) {
- await interaction.followUp({embeds: [new EmojiEmbed()
- .setTitle("Something went wrong")
- .setDescription(error.message ?? error.toString())
- .setStatus("Danger")
- .setEmoji("CONTROL.BLOCKCROSS")
- ], ephemeral: true});
+ await interaction.followUp({
+ embeds: [
+ new EmojiEmbed()
+ .setTitle("Something went wrong")
+ .setDescription(error.message ?? error.toString())
+ .setStatus("Danger")
+ .setEmoji("CONTROL.BLOCKCROSS")
+ ],
+ ephemeral: true
+ });
} else {
- await interaction.reply({embeds: [new EmojiEmbed()
- .setTitle("Something went wrong")
- .setDescription(error.message ?? error.toString())
- .setStatus("Danger")
- .setEmoji("CONTROL.BLOCKCROSS")
- ], ephemeral: true});
+ await interaction.reply({
+ embeds: [
+ new EmojiEmbed()
+ .setTitle("Something went wrong")
+ .setDescription(error.message ?? error.toString())
+ .setStatus("Danger")
+ .setEmoji("CONTROL.BLOCKCROSS")
+ ],
+ ephemeral: true
+ });
}
}