paint
Private
Content
32 lines{=():}
{=(return):false}
{=(validParts):skin shell face}
{=(skinColor):BDCF46}
{=(shellColor):757F3F}
{=(faceColor):2F2F2F}
{=(threshold):10}
{=(parts):{lower:{if({args}!=):{args(1)}{if({args(3+)}!=): {args(3)}{if({args(5+)}!=): {args(5)}}}}}}
{=(colors):{if({args}!=):{args(2)}{if({args(4+)}!=): {args(4)}{if({args(6+)}!=): {args(6)}}}}}
{=(partCount):{index(&&&):{parts} &&&}}
{=(colorCount):{index(&&&):{colors} &&&}}
{=(COMMENT):Part validation}
{{if({return}==false):=(message):Part '{parts(1)}' is invalid.}}
{{if({contains({parts(1)}):{validParts}}==false):=(return):true}}
{{if({return}==false):=(message):Part '{parts(2)}' is invalid.}}
{{if({contains({parts(2)}):{validParts}}==false):=(return):true}}
{{if({return}==false):=(message):Part '{parts(3)}' is invalid.}}
{{if({contains({parts(3)}):{validParts}}==false):=(return):true}}
{{if({return}==false):=(message):Part '{parts(0)}' is missing a color argument.}}
{{if({partCount}!={colorCount}):=(return):true}}
{=(urlThingy):e_replace_color:{urlencode:{colors(1)}}:{threshold}:{{parts(1)}Color}}
{{if({partCount}>=2):=(urlThingy):{urlThingy}/e_replace_color:{urlencode:{colors(2)}}:{threshold}:{{parts(2)}Color}}}
{{if({partCount}>=3):=(urlThingy):{urlThingy}/e_replace_color:{urlencode:{colors(3)}}:{threshold}:{{parts(3)}Color}}}
{=(url):https://res.cloudinary.com/demo/image/fetch/w_512/{urlThingy}/https://cdn.discordapp.com/avatars/235148962103951360/cececd50fdc87b29929e65c768f24ad6.png}
{{if({return}==false):url|message}}Raw JSON
{
"id": 1008688,
"created_at": "2021-08-14T11:52:37.000Z",
"tag_name": "paint",
"nsfw": false,
"owner_id": "643448506064961536",
"uses": 18,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "",
"hidden": false,
"guild_id": "736603477416869919",
"sharer": "643448506064961536",
"content": "{=():}\n{=(return):false}\n\n{=(validParts):skin shell face}\n{=(skinColor):BDCF46}\n{=(shellColor):757F3F}\n{=(faceColor):2F2F2F}\n{=(threshold):10}\n\n{=(parts):{lower:{if({args}!=):{args(1)}{if({args(3+)}!=): {args(3)}{if({args(5+)}!=): {args(5)}}}}}}\n{=(colors):{if({args}!=):{args(2)}{if({args(4+)}!=): {args(4)}{if({args(6+)}!=): {args(6)}}}}}\n{=(partCount):{index(&&&):{parts} &&&}}\n{=(colorCount):{index(&&&):{colors} &&&}}\n\n{=(COMMENT):Part validation}\n{{if({return}==false):=(message):Part '{parts(1)}' is invalid.}}\n{{if({contains({parts(1)}):{validParts}}==false):=(return):true}}\n{{if({return}==false):=(message):Part '{parts(2)}' is invalid.}}\n{{if({contains({parts(2)}):{validParts}}==false):=(return):true}}\n{{if({return}==false):=(message):Part '{parts(3)}' is invalid.}}\n{{if({contains({parts(3)}):{validParts}}==false):=(return):true}}\n\n{{if({return}==false):=(message):Part '{parts(0)}' is missing a color argument.}}\n{{if({partCount}!={colorCount}):=(return):true}}\n\n{=(urlThingy):e_replace_color:{urlencode:{colors(1)}}:{threshold}:{{parts(1)}Color}}\n{{if({partCount}>=2):=(urlThingy):{urlThingy}/e_replace_color:{urlencode:{colors(2)}}:{threshold}:{{parts(2)}Color}}}\n{{if({partCount}>=3):=(urlThingy):{urlThingy}/e_replace_color:{urlencode:{colors(3)}}:{threshold}:{{parts(3)}Color}}}\n\n{=(url):https://res.cloudinary.com/demo/image/fetch/w_512/{urlThingy}/https://cdn.discordapp.com/avatars/235148962103951360/cececd50fdc87b29929e65c768f24ad6.png}\n\n{{if({return}==false):url|message}}",
"embed": "{}",
"last_fetched": "2026-10-20T17:21:43.635Z"
}