diff --git a/src/handlers/flagTranslation.ts b/src/handlers/flagTranslation.ts index 2b78f02..633f711 100644 --- a/src/handlers/flagTranslation.ts +++ b/src/handlers/flagTranslation.ts @@ -47,6 +47,8 @@ export async function translateMessage(reaction: MessageReaction, user: User) { const result = await translate .translate(message.content, language) .catch((error) => { + message.reactions.removeAll(); + message.react("❌"); console.error("Translation error: ", error); return null; });