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
+        });
     }
 }
