rainbow

Privateunrated

Content

60 lines
{delete}
{=(prefix):!}
{=(tagname):rainbow}
{=():}
{=(opacity):50}

{=(tav):{replace(.webp,.png):{replace(?size=1024,):{target(avatar)}}}}
{=(isAvGIF):{in(.gif):{tav}}}
{=(tavpng):{replace(.gif,.png):{tav}}}
{=(imageSize):132}
{=(textSize):{m:trunc({imageSize}/6)}}

{=(COMMENT):Y coordinate from north for each color.}
{=(yY):{m:trunc({textSize}*2)}}
{=(gY):{m:trunc({textSize}*3)}}
{=(bY):{m:trunc({textSize}*4)}}
{=(pY):{m:trunc({textSize}*5)}}

{=(red):E01E3E}
{=(orange):FA693D}
{=(yellow):FBD800}
{=(green):008E28}
{=(blue):0F31D1}
{=(purple):66007E}

{=(txt):l_text:Arial_20:placeholdertext}
{=(no):fl_no_overflow}
{=(redbar):{txt},co_rgb:{red},b_rgb:{red},o_{opacity},{no},g_north}
{=(orangebar):{txt},co_rgb:{orange},b_rgb:{orange},o_{opacity},{no},g_north,y_{textSize}}
{=(yellowbar):{txt},co_rgb:{yellow},b_rgb:{yellow},o_{opacity},{no},g_north,y_{yY}}
{=(greenbar):{txt},co_rgb:{green},b_rgb:{green},o_{opacity},{no},g_north,y_{gY}}
{=(bluebar):{txt},co_rgb:{blue},b_rgb:{blue},o_{opacity},{no},g_north,y_{bY}}
{=(purplebar):{txt},co_rgb:{purple},b_rgb:{purple},o_{opacity},{no},g_north,y_{pY}}
{=(resize):w_{imageSize}}

{=(banner):https://res.cloudinary.com/demo/image/fetch/{redbar}/{orangebar}/{yellowbar}/{greenbar}/{bluebar}/{purplebar}/{resize}/{tavpng}}

{=(em.title):Rainbow Avatar}
{=(em.desc):
{target(mention)}
[PNG]({banner}){if({isAvGIF}==true):|[GIF]({replace(.png,.gif):{banner}})}}
{=(em.footer):{prefix}{tagname} [optional @mention]}
{embed(color):#2f3136}
{=(debug):__Debug:__
opacity: `{opacity}`
isAvGIF: `{isAvGIF}`

imageSize: `{imageSize}`
textSize: `{textSize}`

yY: `{yY}`
gY: `{gY}`
bY: `{bY}`
pY: `{pY}`

banner:
`{banner}`
}
{=(db):{if({in(debug):{args}}==true):{debug}}}
{db}

Embed

1 line
{"color": 5198940, "image": {"url": "{banner}"}, "title": "{em.title}", "footer": {"text": "{em.footer}"}, "description": "{em.desc}"}
Raw JSON
{
  "id": 1322100,
  "created_at": "2022-03-11T08:10:37.000Z",
  "tag_name": "rainbow",
  "nsfw": false,
  "owner_id": "934909779120381993",
  "uses": 8,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "937782808338919435",
  "sharer": "934909779120381993",
  "content": "{delete}\n{=(prefix):!}\n{=(tagname):rainbow}\n{=():}\n{=(opacity):50}\n\n{=(tav):{replace(.webp,.png):{replace(?size=1024,):{target(avatar)}}}}\n{=(isAvGIF):{in(.gif):{tav}}}\n{=(tavpng):{replace(.gif,.png):{tav}}}\n{=(imageSize):132}\n{=(textSize):{m:trunc({imageSize}/6)}}\n\n{=(COMMENT):Y coordinate from north for each color.}\n{=(yY):{m:trunc({textSize}*2)}}\n{=(gY):{m:trunc({textSize}*3)}}\n{=(bY):{m:trunc({textSize}*4)}}\n{=(pY):{m:trunc({textSize}*5)}}\n\n{=(red):E01E3E}\n{=(orange):FA693D}\n{=(yellow):FBD800}\n{=(green):008E28}\n{=(blue):0F31D1}\n{=(purple):66007E}\n\n{=(txt):l_text:Arial_20:placeholdertext}\n{=(no):fl_no_overflow}\n{=(redbar):{txt},co_rgb:{red},b_rgb:{red},o_{opacity},{no},g_north}\n{=(orangebar):{txt},co_rgb:{orange},b_rgb:{orange},o_{opacity},{no},g_north,y_{textSize}}\n{=(yellowbar):{txt},co_rgb:{yellow},b_rgb:{yellow},o_{opacity},{no},g_north,y_{yY}}\n{=(greenbar):{txt},co_rgb:{green},b_rgb:{green},o_{opacity},{no},g_north,y_{gY}}\n{=(bluebar):{txt},co_rgb:{blue},b_rgb:{blue},o_{opacity},{no},g_north,y_{bY}}\n{=(purplebar):{txt},co_rgb:{purple},b_rgb:{purple},o_{opacity},{no},g_north,y_{pY}}\n{=(resize):w_{imageSize}}\n\n{=(banner):https://res.cloudinary.com/demo/image/fetch/{redbar}/{orangebar}/{yellowbar}/{greenbar}/{bluebar}/{purplebar}/{resize}/{tavpng}}\n\n{=(em.title):Rainbow Avatar}\n{=(em.desc):\n{target(mention)}\n[PNG]({banner}){if({isAvGIF}==true):|[GIF]({replace(.png,.gif):{banner}})}}\n{=(em.footer):{prefix}{tagname} [optional @mention]}\n{embed(color):#2f3136}\n{=(debug):__Debug:__\nopacity: `{opacity}`\nisAvGIF: `{isAvGIF}`\n\nimageSize: `{imageSize}`\ntextSize: `{textSize}`\n\nyY: `{yY}`\ngY: `{gY}`\nbY: `{bY}`\npY: `{pY}`\n\nbanner:\n`{banner}`\n}\n{=(db):{if({in(debug):{args}}==true):{debug}}}\n{db}",
  "embed": "{\"color\": 5198940, \"image\": {\"url\": \"{banner}\"}, \"title\": \"{em.title}\", \"footer\": {\"text\": \"{em.footer}\"}, \"description\": \"{em.desc}\"}",
  "last_fetched": "2026-10-20T18:36:45.566Z"
}