Still got errors and warnings, mostly the same and easy to fix
diff --git a/src/events/commandError.ts b/src/events/commandError.ts
index 8edb480..2ec6a5d 100644
--- a/src/events/commandError.ts
+++ b/src/events/commandError.ts
@@ -1,6 +1,6 @@
import EmojiEmbed from "../utils/generateEmojiEmbed.js";
-export const event = 'commandError'
+export const event = "commandError";
export async function callback(client, interaction, error) {
if (interaction.replied || interaction.deferred) {
@@ -9,13 +9,13 @@
.setDescription(error.message ?? error.toString())
.setStatus("Danger")
.setEmoji("CONTROL.BLOCKCROSS")
- ], ephemeral: true})
+ ], 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})
+ ], ephemeral: true});
}
}