tod

Adds a game of Truth or Dare! Help command & other games can be found in https://carl.gg/t/1329754

Privateunrated

Content

14 lines
{=(type):truth,dare}
{=(rating):4|pg,4|pg13,2|r}
{=(error):`!tod <type> <rating>` Type: Truth or Dare Rating: PG, PG13, R}

{=(hex):0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F}
{=(rand.color):#{#:{hex}}{#:{hex}}{#:{hex}}{#:{hex}}{#:{hex}}{#:{hex}}}

{=(args):{lower:{args}}}

{=(type):{or({args(1)}==dare|{args(1)}==truth):{args(1)}|{rand:{type}}}}
{=(rating):{or({args(2)}==pg|{args(2)}==pg13|{args(2)}==r):{args(2)}|{rand:{rating}}}}

{embed(color):{rand.color}}
{=(url):https://carlbot-api.lighted.repl.co/game/tod?type={type}&rating={rating}&unix={unix}}

Embed

1 line
{"color": 5198940, "image": {"url": "{url}"}, "title": "{upper:{type} - {rating}}", "author": {"name": "Truth or Dare", "icon_url": "https://cdn.discordapp.com/avatars/897540533386371072/29954802d6d156a6e99f02f080a0e721.webp?size=100"}, "footer": {"text": "Unix: {unix}"}}
Raw JSON
{
  "id": 1325021,
  "created_at": "2022-03-13T12:39:35.000Z",
  "tag_name": "tod",
  "nsfw": false,
  "owner_id": "516906911732465675",
  "uses": 188,
  "description": "Adds a game of Truth or Dare!\nHelp command & other games can be found in https://carl.gg/t/1329754",
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "811237249219952650",
  "sharer": "516906911732465675",
  "content": "{=(type):truth,dare}\n{=(rating):4|pg,4|pg13,2|r}\n{=(error):`!tod <type> <rating>` Type: Truth or Dare Rating: PG, PG13, R}\n\n{=(hex):0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F}\n{=(rand.color):#{#:{hex}}{#:{hex}}{#:{hex}}{#:{hex}}{#:{hex}}{#:{hex}}}\n\n{=(args):{lower:{args}}}\n\n{=(type):{or({args(1)}==dare|{args(1)}==truth):{args(1)}|{rand:{type}}}}\n{=(rating):{or({args(2)}==pg|{args(2)}==pg13|{args(2)}==r):{args(2)}|{rand:{rating}}}}\n\n{embed(color):{rand.color}}\n{=(url):https://carlbot-api.lighted.repl.co/game/tod?type={type}&rating={rating}&unix={unix}}",
  "embed": "{\"color\": 5198940, \"image\": {\"url\": \"{url}\"}, \"title\": \"{upper:{type} - {rating}}\", \"author\": {\"name\": \"Truth or Dare\", \"icon_url\": \"https://cdn.discordapp.com/avatars/897540533386371072/29954802d6d156a6e99f02f080a0e721.webp?size=100\"}, \"footer\": {\"text\": \"Unix: {unix}\"}}",
  "last_fetched": "2026-10-20T18:37:35.390Z"
}