gamble
Privateunrated
Content
47 lines{=(COMMENT):Main prefix and tag name, to be displayed in the error message.}
{=(prefix):!}
{=(tagname):gamble}
{=(COMMENT):Chooses a random number from 1-20 for Carl-bot.}
{=(carl_num):{range:1-20}}
{=(COMMENT):Chooses a random number from 1-20 for the player.}
{=(user_num):{range:1-20}}
{=(COMMENT):Sets a title message based on the outcome of the game.}
{=(title_W):You Win!}
{=(title_D):It's a Tie!}
{=(title_L):Carl-bot Wins!}
{=(title):{if({carl_num}>{user_num}):{title_L}|{if({carl_num}=={user_num}):{title_D}|{if({user_num}>{carl_num}):{title_W}}}}}
{=(COMMENT):Bunch of quotes depending on the outcome, credits go to Asty' for creating them, I just edited some.}
{=(rand_W):{#:Y-you, human, just beat a robot!~"AI will run the world" they said..., yet you defeated a program.~I want to speak to your manager. I'm not allowed to lose.~Yay, do you want a medal now?~Okay you won, but this time only.~You didn't even let me think of my move!~Imagine winning.~Winning is for losers.~It's not fair, my progammer nerfed me!}}
{=(rand_D):{#:At least we're equally as good.~There must be a mistake. I never tie with anyone!~Honestly the game must be bugged at this point.~Imagine playing a game where "no winner" is a possible outcome...}}
{=(rand_L):{#:Imagine losing to a turtle though.~Now bow to your Turtle King!~Carl-bot best bot.~Don't feel bad, I was programmed to win.~See, you can't beat me now. Told you.~It's okay, you'll wi- keep losing, actually.~There's only 3 outcomes... How can you lose to such a simple game?}}
{=(msg):{if({carl_num}>{user_num}):{rand_L}|{if({carl_num}=={rand_D}):{title_D}|{if({user_num}>{carl_num}):{rand_W}}}}}
{=(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}
{=(colour):{if({carl_num}>{user_num}):{clr_L}|{if({carl_num}=={rand_D}):{clr_D}|{if({user_num}>{carl_num}):{clr_W}}}}}
{embed(color):#{colour}}
{=(output):
**{user(name)}**: `{user_num}`
**Carl-bot**: `{carl_num}`
> {msg}}
{embed(timestamp):now}Embed
1 line{"color": 5198940, "title": "{title}", "description": "{output}"}Raw JSON
{
"id": 419790,
"created_at": "2020-11-09T11:12:07.000Z",
"tag_name": "gamble",
"nsfw": false,
"owner_id": "714642172514795580",
"uses": 52,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "766189041497800704",
"sharer": "714642172514795580",
"content": "{=(COMMENT):Main prefix and tag name, to be displayed in the error message.}\n\n{=(prefix):!}\n{=(tagname):gamble}\n\n{=(COMMENT):Chooses a random number from 1-20 for Carl-bot.}\n\n{=(carl_num):{range:1-20}}\n\n{=(COMMENT):Chooses a random number from 1-20 for the player.}\n\n{=(user_num):{range:1-20}}\n\n{=(COMMENT):Sets a title message based on the outcome of the game.}\n\n{=(title_W):You Win!}\n{=(title_D):It's a Tie!}\n{=(title_L):Carl-bot Wins!}\n\n{=(title):{if({carl_num}>{user_num}):{title_L}|{if({carl_num}=={user_num}):{title_D}|{if({user_num}>{carl_num}):{title_W}}}}}\n\n{=(COMMENT):Bunch of quotes depending on the outcome, credits go to Asty' for creating them, I just edited some.}\n\n{=(rand_W):{#:Y-you, human, just beat a robot!~\"AI will run the world\" they said..., yet you defeated a program.~I want to speak to your manager. I'm not allowed to lose.~Yay, do you want a medal now?~Okay you won, but this time only.~You didn't even let me think of my move!~Imagine winning.~Winning is for losers.~It's not fair, my progammer nerfed me!}}\n{=(rand_D):{#:At least we're equally as good.~There must be a mistake. I never tie with anyone!~Honestly the game must be bugged at this point.~Imagine playing a game where \"no winner\" is a possible outcome...}}\n{=(rand_L):{#:Imagine losing to a turtle though.~Now bow to your Turtle King!~Carl-bot best bot.~Don't feel bad, I was programmed to win.~See, you can't beat me now. Told you.~It's okay, you'll wi- keep losing, actually.~There's only 3 outcomes... How can you lose to such a simple game?}}\n\n{=(msg):{if({carl_num}>{user_num}):{rand_L}|{if({carl_num}=={rand_D}):{title_D}|{if({user_num}>{carl_num}):{rand_W}}}}}\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\n{=(colour):{if({carl_num}>{user_num}):{clr_L}|{if({carl_num}=={rand_D}):{clr_D}|{if({user_num}>{carl_num}):{clr_W}}}}}\n\n{embed(color):#{colour}}\n\n{=(output):\n**{user(name)}**: `{user_num}`\n**Carl-bot**: `{carl_num}`\n> {msg}}\n\n{embed(timestamp):now}",
"embed": "{\"color\": 5198940, \"title\": \"{title}\", \"description\": \"{output}\"}",
"last_fetched": "2026-10-20T23:04:43.220Z"
}