jokenpo

Privateunrated

Content

104 lines
{=(COMMENT):Prefixo do servidor.}
{=(prefix):!}
{=(COMMENT):O nome da tag.}
{=(tagname):jokenpo}

{=(COMMENT):Makes the first argument case insensitive, and allows for one-letter options (such as "r" for "rock", etc.), as well as emojis representing the items or the hand gestures.
Even takes into account skin-tones when using the hand gestures, so it's user friendly and adapts to every user.}

{require({user}, você não faz parte da Irmandade da Noite!):738157550901395456, 740558889296199810, 800048046880325673}

{=(l1):{replace(pedra,r):{replace(papel,p):{replace(tesoura,s):{replace(✂,s):{replace(✂️,s):{replace(📃,p):{replace(✌,s):{replace(✌️,s):{replace(🤚,p):{replace(✊,r):{lower:{1}}}}}}}}}}}}}

{=(COMMENT):Picks a random number between 1 and 3 for the bot to play. Well... I'm just kidding, because we all know Carl-bot still influences that randomness to his advantage... right?}
{=(num):{range:1-3}}
{=(rps):pedra papel tesoura}
{=(rps_l):r p s}
{=(COMMENT):Emojis to be used in front of the picked option.
If you prefer the "hands" version, then remove the second "rps_e" line below, or invert the first and second line.}
{=(rps_e):✊ :back_of_hand: ✌}
{=(rps_e):🪨 📃 ✂}

{=(COMMENT):Checks if the user input a valid RPS option.}
{=(check):{if({contains({l1}):{rps_l}}==true):success|error}}

{=(COMMENT):Map of the possible outcomes.
Made out of this image:
https://cdn.steemitimages.com/DQmRLh8nD97k5o3Xop9FAXfHXYw9khHDNVd9LC3z7atY7Ya/rockpaperScissors.png
W = Win, D = Draw, L = Lose}
{=(r_o):D L W}
{=(p_o):W D L}
{=(s_o):L W D}

{=(COMMENT):Letter outcome. Returns either L, D, or W.}
{=(letter_o):{{l1}_o({num})}}

{=(COMMENT):Returns the player1's option.}
{=(p1):{rps({index({l1}):0 {rps_l}})}}
{=(COMMENT):Returns the player1's emoji based on their option.}
{=(p1_e):{rps_e({index({l1}):0 {rps_l}})}}

{=(COMMENT):Returns the bot's random option.}
{=(bot):{rps({num})}}
{=(COMMENT):Returns the bot's option's emoji.}
{=(bot_e):{rps_e({num})}}

{=(COMMENT):"Basic" W D L messages to be displayed.
You can customize them as per your need.
Random sassy quotes from the bot are below in the code.}
{=(msg_W):Você venceu!}
{=(msg_D):Empate!}
{=(msg_L):Carl venceu!}

{=(COMMENT):Returns the basic message corresponding to the outcome.}
{=(msg_final):{msg_{letter_o}}}

{=(COMMENT):Setting up the hex color codes that will be used as the embed's side color. You can customize them as per your need.}
{=(COMMENT):Green}
{=(clr_W):26de57}
{=(COMMENT):Orange}
{=(clr_D):deb626}
{=(COMMENT):Red}
{=(clr_L):de2626}
{=(COMMENT):Blurple}
{=(clr_E):7289da}

{=(COMMENT):Actually setting the conditional color.}
{embed(color):#{replace(#,):{if({check}==error):{clr_E}|{clr_{letter_o}}}}}

{=(COMMENT):Conditional title. The basic message is actually our embed title here.}
{=(check_t):{if({contains({l1}):{rps_l}}==true):msg_final}}

{=(COMMENT):Random (sassy) quote depending on the outcome.}
{=(rand_W):{#:V-você, humano, acabou de vencer um droide!~"A IA dominará o mundo", eles disseram... mas você acabou de derrotar um _droide_.~Não consigo nem ganhar no jokenpô... isso não é justo!~Parece que a Força está com você neste jogo, {user}.~Preciso falar com meu criador. Não fui programado para perder.~Ok, você venceu, mas só desta vez... espero.~Cê tá trapaceando, {user}? Para com isso, hein? Não vale!}}

{=(rand_D):{#:Pelo menos somos igualmente bons.~Deve haver algum erro.~Meu Deus, é você.~Honestamente, acho que o jogo está bugado. O que você acha, {user}?~Não acho que quem ganhar ou quem perder, nem quem ganhar nem perder, vai ganhar ou perder. Vai todo mundo perder.}}

{=(rand_L):{#:Se eu tivesse mãos, estaria desenhando uma letra L de "loser" na **SUA** testa, {user}... hihi!~Você perdeu para um _droide_, {user}! Pode isso?!~A Força está comigo... haha!~Agora você vai ter que jantar comigo, {user}.~Há apenas 3 resultados, {user}. Como você pôde perder um jogo tão simples?}}

{=(COMMENT):What to display when the option is valid.
Basically just the game output.}
{=(success):**{user(mention)} jogou:** {p1_e} `{p1}`
**<@235148962103951360> jogou:** {bot_e} `{bot}`

> {rand_{letter_o}}}

{=(COMMENT):What to display when the option isn't valid.
Contains instructions on how to use the command.
You can add more text to it if you'd like.
(Either no user argument provided or not a word that is valid.}
{=(error):**Jogue jokenpô comigo!**

Opções: ✊, pedra, 🤚, 📃, papel, ✌, ✂️ e tesoura!

Como funciona? `{prefix}{tagname} <opção>`
Exemplo: `{prefix}{tagname} ✌`
}

{=(COMMENT):Please leave the blank variable below, as it prevents the title from returning double brackets as plain text.}
{=():}
{=(COMMENT):Basic message to return as the title.}
{=(title):{{check_t}}}

{=(COMMENT)):Conditional embed description.}
{=(output):{{check}}}

Embed

1 line
{"color": 5198940, "title": "{title}", "thumbnail": {"url": "https://cdn.awsli.com.br/444/444307/logo/30fa444152.png"}, "description": "{output}"}
Raw JSON
{
  "id": 444037,
  "created_at": "2020-11-22T18:40:27.000Z",
  "tag_name": "jokenpo",
  "nsfw": false,
  "owner_id": "585690044979740682",
  "uses": 115,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "727007727577989161",
  "sharer": "585690044979740682",
  "content": "{=(COMMENT):Prefixo do servidor.}\n{=(prefix):!}\n{=(COMMENT):O nome da tag.}\n{=(tagname):jokenpo}\n\n{=(COMMENT):Makes the first argument case insensitive, and allows for one-letter options (such as \"r\" for \"rock\", etc.), as well as emojis representing the items or the hand gestures.\nEven takes into account skin-tones when using the hand gestures, so it's user friendly and adapts to every user.}\n\n{require({user}, você não faz parte da Irmandade da Noite!):738157550901395456, 740558889296199810, 800048046880325673}\n\n{=(l1):{replace(pedra,r):{replace(papel,p):{replace(tesoura,s):{replace(✂,s):{replace(✂️,s):{replace(📃,p):{replace(✌,s):{replace(✌️,s):{replace(🤚,p):{replace(✊,r):{lower:{1}}}}}}}}}}}}}\n\n{=(COMMENT):Picks a random number between 1 and 3 for the bot to play. Well... I'm just kidding, because we all know Carl-bot still influences that randomness to his advantage... right?}\n{=(num):{range:1-3}}\n{=(rps):pedra papel tesoura}\n{=(rps_l):r p s}\n{=(COMMENT):Emojis to be used in front of the picked option.\nIf you prefer the \"hands\" version, then remove the second \"rps_e\" line below, or invert the first and second line.}\n{=(rps_e):✊ :back_of_hand: ✌}\n{=(rps_e):🪨 📃 ✂}\n\n{=(COMMENT):Checks if the user input a valid RPS option.}\n{=(check):{if({contains({l1}):{rps_l}}==true):success|error}}\n\n{=(COMMENT):Map of the possible outcomes.\nMade out of this image:\nhttps://cdn.steemitimages.com/DQmRLh8nD97k5o3Xop9FAXfHXYw9khHDNVd9LC3z7atY7Ya/rockpaperScissors.png\nW = Win, D = Draw, L = Lose}\n{=(r_o):D L W}\n{=(p_o):W D L}\n{=(s_o):L W D}\n\n{=(COMMENT):Letter outcome. Returns either L, D, or W.}\n{=(letter_o):{{l1}_o({num})}}\n\n{=(COMMENT):Returns the player1's option.}\n{=(p1):{rps({index({l1}):0 {rps_l}})}}\n{=(COMMENT):Returns the player1's emoji based on their option.}\n{=(p1_e):{rps_e({index({l1}):0 {rps_l}})}}\n\n{=(COMMENT):Returns the bot's random option.}\n{=(bot):{rps({num})}}\n{=(COMMENT):Returns the bot's option's emoji.}\n{=(bot_e):{rps_e({num})}}\n\n{=(COMMENT):\"Basic\" W D L messages to be displayed.\nYou can customize them as per your need.\nRandom sassy quotes from the bot are below in the code.}\n{=(msg_W):Você venceu!}\n{=(msg_D):Empate!}\n{=(msg_L):Carl venceu!}\n\n{=(COMMENT):Returns the basic message corresponding to the outcome.}\n{=(msg_final):{msg_{letter_o}}}\n\n{=(COMMENT):Setting up the hex color codes that will be used as the embed's side color. You can customize them as per your need.}\n{=(COMMENT):Green}\n{=(clr_W):26de57}\n{=(COMMENT):Orange}\n{=(clr_D):deb626}\n{=(COMMENT):Red}\n{=(clr_L):de2626}\n{=(COMMENT):Blurple}\n{=(clr_E):7289da}\n\n{=(COMMENT):Actually setting the conditional color.}\n{embed(color):#{replace(#,):{if({check}==error):{clr_E}|{clr_{letter_o}}}}}\n\n{=(COMMENT):Conditional title. The basic message is actually our embed title here.}\n{=(check_t):{if({contains({l1}):{rps_l}}==true):msg_final}}\n\n{=(COMMENT):Random (sassy) quote depending on the outcome.}\n{=(rand_W):{#:V-você, humano, acabou de vencer um droide!~\"A IA dominará o mundo\", eles disseram... mas você acabou de derrotar um _droide_.~Não consigo nem ganhar no jokenpô... isso não é justo!~Parece que a Força está com você neste jogo, {user}.~Preciso falar com meu criador. Não fui programado para perder.~Ok, você venceu, mas só desta vez... espero.~Cê tá trapaceando, {user}? Para com isso, hein? Não vale!}}\n\n{=(rand_D):{#:Pelo menos somos igualmente bons.~Deve haver algum erro.~Meu Deus, é você.~Honestamente, acho que o jogo está bugado. O que você acha, {user}?~Não acho que quem ganhar ou quem perder, nem quem ganhar nem perder, vai ganhar ou perder. Vai todo mundo perder.}}\n\n{=(rand_L):{#:Se eu tivesse mãos, estaria desenhando uma letra L de \"loser\" na **SUA** testa, {user}... hihi!~Você perdeu para um _droide_, {user}! Pode isso?!~A Força está comigo... haha!~Agora você vai ter que jantar comigo, {user}.~Há apenas 3 resultados, {user}. Como você pôde perder um jogo tão simples?}}\n\n{=(COMMENT):What to display when the option is valid.\nBasically just the game output.}\n{=(success):**{user(mention)} jogou:** {p1_e} `{p1}`\n**<@235148962103951360> jogou:** {bot_e} `{bot}`\n\n> {rand_{letter_o}}}\n\n{=(COMMENT):What to display when the option isn't valid.\nContains instructions on how to use the command.\nYou can add more text to it if you'd like.\n(Either no user argument provided or not a word that is valid.}\n{=(error):**Jogue jokenpô comigo!**\n\nOpções: ✊, pedra, 🤚, 📃, papel, ✌, ✂️ e tesoura!\n\nComo funciona? `{prefix}{tagname} <opção>`\nExemplo: `{prefix}{tagname} ✌`\n}\n\n{=(COMMENT):Please leave the blank variable below, as it prevents the title from returning double brackets as plain text.}\n{=():}\n{=(COMMENT):Basic message to return as the title.}\n{=(title):{{check_t}}}\n\n{=(COMMENT)):Conditional embed description.}\n{=(output):{{check}}}",
  "embed": "{\"color\": 5198940, \"title\": \"{title}\", \"thumbnail\": {\"url\": \"https://cdn.awsli.com.br/444/444307/logo/30fa444152.png\"}, \"description\": \"{output}\"}",
  "last_fetched": "2026-10-20T23:14:44.498Z"
}