$nomention
$suppressErrors[❌ Please send a valid [ISO 639-1\](
$if[$message[from]==]
$httpGet[https://joyboy-bot.pages.dev/api/v2/translate?text=$url[encode;$message[text]]&to=$message[to]]
$else
$if[$message[to]==]
$httpGet[https://joyboy-bot.pages.dev/api/v2/translate?text=$url[encode;$message[text]]&from=$message[from]&to=$message[from]]
$else
$httpGet[https://joyboy-bot.pages.dev/api/v2/translate?text=$url[encode;$message[text]]&from=$message[from]&to=$message[to]]
$endif
$endif
$color[#e8dacc]
$footer[joyboy-bot.pages.dev API]
$title[Translator]
$description[
$url[decode;
**$httpResult[detectdFlag] $toUppercase[$httpResult[detectedLanguage]]**
$message[text]
**$httpResult[targetFlag] $toUppercase[$httpResult[targetLanguage]]**
$httpResult[translated]]]