From 13e2437b69169e79b6231b38e1182be84a736552 Mon Sep 17 00:00:00 2001 From: bignutty <3515180-bignutty@users.noreply.gitlab.com> Date: Tue, 5 Nov 2024 23:56:32 +0100 Subject: [PATCH] maybe without debug logs --- commands/interaction/context/translate.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/commands/interaction/context/translate.js b/commands/interaction/context/translate.js index 5af3180..ddb74b1 100644 --- a/commands/interaction/context/translate.js +++ b/commands/interaction/context/translate.js @@ -40,7 +40,6 @@ module.exports = { run: async (ctx) => { try{ - console.log("translating") if (ctx.userId !== context.userId) return await ctx.respond(InteractionCallbackTypes.DEFERRED_UPDATE_MESSAGE); let translate = await googleTranslate(context, message.content, ctx.data.values[0], "auto") @@ -51,8 +50,6 @@ module.exports = { for (let i = 0; i < components.components[0].components[0].options.length; i++) { components.components[0].components[0].options[i].default = (components.components[0].components[0].options[i].value === ctx.data.values[0]) } - - console.log("translated") await ctx.editOrRespond({ embeds: [{