paintcarl
Privateunrated
Content
94 lines{blacklist:I can't use tags}
{=(COMMENT):Your server's preferred prefix and this tag name.}
{=(prefix):!}
{=(tagname):paintcarl}
{=(COMMENT):User settings.}
{=(defaultThreshold):10}
{=(COMMENT):Size of the image in pixels.}
{=(size):1024}
{=(COMMENT):Usage example and syntax of this tag.}
{=(input):!paintcarl skin blue 10}
{=(syntax):{prefix}{tagname} [skin|shell|face|dark] [<color name>|<hex>|r|random|rand] <threshold 1-100>}
{=():}
{=(r):replace}
{=(COMMENT):Argument storage.}
{=(jargs):{join(~):{args}}}
{=(COMMENT):Option name}
{=(arg1):{list(0):{jargs}}}
{=(COMMENT):Color option}
{=(arg2):{replace(#,):{list(1):{jargs}}}}
{=(COMMENT):Optional Threshold}
{=(arg3):{list(2):{jargs}}}
{=(COMMENT):Checks}
{=(isRandomSubstring):{in({lower:{arg2}}):random}}
{=(isArgs):{if(!={arg1}):true|false}}
{=(isNoColor):{if(=={arg2}):true|false}}
{=(isThreshold):{if(!={arg3}):true|false}}
{=(isThresholdNumber):{contains(1):{m:sgn({arg3})}}}
{=(isThresholdInRange):{and({arg3}>0|{arg3}<101):true|false}}
{=(COMMENT):Returns true if all of the conditions are true.}
{=(returnGivenThreshold?):{{r}(true true true,true):{isThreshold} {isThresholdNumber} {isThresholdInRange}}}
{=(COMMENT):Acts as an "any" block. Returns true if any or all of those are true.}
{=(isRandomColor):{{r}(true true,true):{{r}(false true,true):{{r}(true false,true):{isNoColor} {isRandomSubstring}}}}}
{=(COMMENT):Randomizes a color only when it should, otherwise the variables aren't even created.}
{{if({isRandomColor}==true):=(i):#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}}
{{if({isRandomColor}==true):=(rhex):{{i}}{{i}}{{i}}{{i}}{{i}}{{i}}}}
{=(finalColor):{{if({isRandomColor}==true):rhex|arg2}}}
{=(COMMENT):Target base color of the option specified.}
{=(baseSkinColor):BDCF46}
{=(baseShellColor):757F3F}
{=(baseFaceColor):2F2F2F}
{=(COMMENT):When no option name is specified, randomizes it for you!}
{=(w{arg1}):{#:Skin~Shell~Face}}
{=(wskin):Skin}
{=(wshell):Shell}
{=(wface):Face}
{=(wdark):{wface}}
{=(COMMENT):Returns the capitalized option name (titled).}
{=(optionName):{w{lower:{arg1}}}}
{=(COMMENT):Returns the base hex color of the option (in arg1) specified. If none, randomizes it.}
{=(baseColor):{base{optionName}Color}}
{=(COMMENT):Returns the final threshold. Default if none, otherwise the one specified.}
{=(threshold):{{if({returnGivenThreshold?}==true):arg3|defaultThreshold}}}
{=(COMMENT):Final image URL.}
{=(image):https://res.cloudinary.com/demo/image/fetch/w_{size}/e_replace_color:{finalColor}:{threshold}:{baseColor}/https://cdn.discordapp.com/avatars/235148962103951360/cececd50fdc87b29929e65c768f24ad6.png}
{=(sanitizedUser):{{r}(*,):{{r}(|,):{user}}}}
{=(COMMENT):Output Management}
{=(emIcon):{user(avatar)}}
{=(emName):{sanitizedUser}, you just painted Carl-bot's {optionName} in {finalColor}!}
{embed(color):#2f3136}
{=(debug):__Debug:__
**Checks**
isRandomSubstring: `{isRandomSubstring}`
isArgs: `{isArgs}`
isNoColor: `{isNoColor}`
isThreshold: `{isThreshold}`
isThresholdNumber: `{isThresholdNumber}`
isThresholdInRange: `{isThresholdInRange}`
returnGivenThreshold?: `{returnGivenThreshold?}`
isRandomColor: `{isRandomColor}`
{image}
}Embed
1 line{"color": 5198940, "image": {"url": "{image}"}, "author": {"name": "{emName}", "icon_url": "{emIcon}"}, "footer": {"text": "{syntax}"}}Raw JSON
{
"id": 1408382,
"created_at": "2022-05-15T18:29:42.000Z",
"tag_name": "paintcarl",
"nsfw": false,
"owner_id": "734516789396111421",
"uses": 2,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "917134829454233660",
"sharer": "734516789396111421",
"content": "{blacklist:I can't use tags}\n{=(COMMENT):Your server's preferred prefix and this tag name.}\n{=(prefix):!}\n{=(tagname):paintcarl}\n\n{=(COMMENT):User settings.}\n{=(defaultThreshold):10}\n{=(COMMENT):Size of the image in pixels.}\n{=(size):1024}\n\n{=(COMMENT):Usage example and syntax of this tag.}\n{=(input):!paintcarl skin blue 10}\n{=(syntax):{prefix}{tagname} [skin|shell|face|dark] [<color name>|<hex>|r|random|rand] <threshold 1-100>}\n\n{=():}\n{=(r):replace}\n\n{=(COMMENT):Argument storage.}\n{=(jargs):{join(~):{args}}}\n{=(COMMENT):Option name}\n{=(arg1):{list(0):{jargs}}}\n{=(COMMENT):Color option}\n{=(arg2):{replace(#,):{list(1):{jargs}}}}\n{=(COMMENT):Optional Threshold}\n{=(arg3):{list(2):{jargs}}}\n\n{=(COMMENT):Checks}\n{=(isRandomSubstring):{in({lower:{arg2}}):random}}\n{=(isArgs):{if(!={arg1}):true|false}}\n{=(isNoColor):{if(=={arg2}):true|false}}\n\n{=(isThreshold):{if(!={arg3}):true|false}}\n{=(isThresholdNumber):{contains(1):{m:sgn({arg3})}}}\n{=(isThresholdInRange):{and({arg3}>0|{arg3}<101):true|false}}\n\n{=(COMMENT):Returns true if all of the conditions are true.}\n{=(returnGivenThreshold?):{{r}(true true true,true):{isThreshold} {isThresholdNumber} {isThresholdInRange}}}\n\n{=(COMMENT):Acts as an \"any\" block. Returns true if any or all of those are true.}\n{=(isRandomColor):{{r}(true true,true):{{r}(false true,true):{{r}(true false,true):{isNoColor} {isRandomSubstring}}}}}\n\n{=(COMMENT):Randomizes a color only when it should, otherwise the variables aren't even created.}\n{{if({isRandomColor}==true):=(i):#:A,B,C,D,E,F,0,1,2,3,4,5,6,7,8,9}}\n{{if({isRandomColor}==true):=(rhex):{{i}}{{i}}{{i}}{{i}}{{i}}{{i}}}}\n\n{=(finalColor):{{if({isRandomColor}==true):rhex|arg2}}}\n\n{=(COMMENT):Target base color of the option specified.}\n{=(baseSkinColor):BDCF46}\n{=(baseShellColor):757F3F}\n{=(baseFaceColor):2F2F2F}\n\n{=(COMMENT):When no option name is specified, randomizes it for you!}\n{=(w{arg1}):{#:Skin~Shell~Face}}\n{=(wskin):Skin}\n{=(wshell):Shell}\n{=(wface):Face}\n{=(wdark):{wface}}\n\n{=(COMMENT):Returns the capitalized option name (titled).}\n{=(optionName):{w{lower:{arg1}}}}\n\n{=(COMMENT):Returns the base hex color of the option (in arg1) specified. If none, randomizes it.}\n{=(baseColor):{base{optionName}Color}}\n\n{=(COMMENT):Returns the final threshold. Default if none, otherwise the one specified.}\n{=(threshold):{{if({returnGivenThreshold?}==true):arg3|defaultThreshold}}}\n\n{=(COMMENT):Final image URL.}\n{=(image):https://res.cloudinary.com/demo/image/fetch/w_{size}/e_replace_color:{finalColor}:{threshold}:{baseColor}/https://cdn.discordapp.com/avatars/235148962103951360/cececd50fdc87b29929e65c768f24ad6.png}\n\n{=(sanitizedUser):{{r}(*,):{{r}(|,):{user}}}}\n\n{=(COMMENT):Output Management}\n{=(emIcon):{user(avatar)}}\n{=(emName):{sanitizedUser}, you just painted Carl-bot's {optionName} in {finalColor}!}\n\n{embed(color):#2f3136}\n\n{=(debug):__Debug:__\n**Checks**\nisRandomSubstring: `{isRandomSubstring}`\nisArgs: `{isArgs}`\nisNoColor: `{isNoColor}`\n\nisThreshold: `{isThreshold}`\nisThresholdNumber: `{isThresholdNumber}`\nisThresholdInRange: `{isThresholdInRange}`\nreturnGivenThreshold?: `{returnGivenThreshold?}`\n\nisRandomColor: `{isRandomColor}`\n\n{image}\n}",
"embed": "{\"color\": 5198940, \"image\": {\"url\": \"{image}\"}, \"author\": {\"name\": \"{emName}\", \"icon_url\": \"{emIcon}\"}, \"footer\": {\"text\": \"{syntax}\"}}",
"last_fetched": "2026-10-20T18:48:41.483Z"
}