From a61a2abaf73b543662ab38c5b370b8e45095fee9 Mon Sep 17 00:00:00 2001 From: "Jefferson L. Alionco" Date: Mon, 15 Apr 2024 13:26:03 -0300 Subject: [PATCH] UPDATE - Herramientas Translate --- plugins/herramientas-translate.js | 2 +- plugins/teste.js | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/plugins/herramientas-translate.js b/plugins/herramientas-translate.js index 098df4ac14..91d18b9c33 100644 --- a/plugins/herramientas-translate.js +++ b/plugins/herramientas-translate.js @@ -26,7 +26,7 @@ const handler = async (m, {args, usedPrefix, command}) => { const lol = await fetch(`https://api.lolhuman.xyz/api/translate/auto/${lang}?apikey=${lolkeysapi}&text=${text}`); const loll = await lol.json(); const result2 = loll.result.translated; - await m.reply(tradutor.texto3 + result2); + await m.reply(`${tradutor.texto3 }` + result2); } catch { await m.reply(tradutor.texto2); } diff --git a/plugins/teste.js b/plugins/teste.js index 18c71b9faa..784f60c845 100644 --- a/plugins/teste.js +++ b/plugins/teste.js @@ -1,5 +1 @@ - - -const handler = async () =>{ - -} \ No newline at end of file +// testes \ No newline at end of file