Skip to content

Commit

Permalink
UPDATE - Herramientas Translate
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffersonalionco committed Apr 15, 2024
1 parent 6ae984d commit a61a2ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion plugins/herramientas-translate.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
6 changes: 1 addition & 5 deletions plugins/teste.js
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@


const handler = async () =>{

}
// testes

0 comments on commit a61a2ab

Please sign in to comment.