fanart

Private

Content

246 lines
{=(COMMENT):Channels storage}
{=(channel.fanart):524309734770343965}
{=(channel.playground):456625369974308866}
{=(channel.rules):467085431360454656}

{=(channel.fanarttest):962528500999397406}

{=(channel.fanartreviews):962517819549949983}

{=(channel.modpg):781689754122321970}

{=(COMMENT):Roles storage}
{=(role.dev):195025754864484352}
{=(role.admin):219776153613893632}
{=(role.mod):209797471608635392}
{=(role.cm):897727507221073931}

{require( ):{channel.modpg},{channel.playground}}

{=(COMMENT):Blocks shortener and aliases}
{=(r):replace}
{=(j):join}
{=(i):index}
{=(ct):contains}
{=(pl):$&!}
{=(urid):{user(roleids)}}
{=(um):{user(mention)}}


{=(COMMENT):Subcommand and arguments part}
{=(subcommands):submit review post None !}

{=(jargs):{{j}(~):! {args}}}
{=(i.sub):{list(1):{lower:{jargs}}}}

{=(subcommand):{subcommands({{i}({i.sub}):{{r}({i.sub},. {i.sub} .):{subcommands}}})}}
{=(COMMENT):Returns "review" if final subcommand is "post", to create a subcommand alias.}
{=(subcommand):{if({subcommand}=={subcommands(3)}):{subcommands(2)}|{subcommand}}}

{=(COMMENT):Returns true if the detected subcommand is either "review" or "post"}
{=(isReview):{in(true):{{ct}({subcommands(2)}):{subcommand}} {{ct}({subcommands(3)}):{subcommand}}}}

{=(i.label):{args({if({isReview}==true):4|3}+)}}

{=(i.imgurl):{list(2):{jargs}}}

{=(COMMENT):Checks if a fanart title/desc/label was provided}
{=(isLabel):!={i.label}}

{=(COMMENT):Checks if a target was mentioned (other than the user).
This could be edited later so mods can post their own fanart by pinging themselves; but they shouldn't need to use the review tag anyways}
{=(isTarget):{in(false):{{ct}({user(id)}):{target(id)}}}}

{=(COMMENT):Image URL Validator}
{=(isHTTP):{in(true):{in(http):{i.imgurl}}}}
{=(isImageExtension):{in(true):{in(.jpg):{i.imgurl}} {in(.jpeg):{i.imgurl}} {in(.png):{i.imgurl}} {in(.gif):{i.imgurl}} {in(.webp):{i.imgurl}}}}
{=(isDirectLink):{in(true true):{isHTTP} {isImageExtension}}}

{=(COMMENT):Checks if the image URL is among the only whitelisted domains.}
{=(isWhitelistedLink):{in(true):{in(://cdn.discordapp.com/attachments/):{i.imgurl}} {in(://media.discordapp.net/attachments/):{i.imgurl}} {in(://imgur.com/):{i.imgurl}} {in(://i.imgur.com/):{i.imgurl}}}}

{=(isValidImage):{in(true true):{isDirectLink} {isWhitelistedLink}}}

{=(COMMENT):Currently unused. Call this if you want a custom string to be displayed in the embed above the image when no label has been specified. Cleaner when nothing tbh.}
{=(labelString):{if({isLabel}):> {i.label}|}}

{=(COMMENT):Returns true or false from the signum of the first argument. If 1, then there was an argument, so at least a subcommand}
{=(isArgs):{{ct}(1):{m:sgn({{i}({pl}):{i.sub} {pl}})}}}

{=(COMMENT):Returns true if there was at least one argument after the subcommand}
{=(isExtraArgs):{{ct}(1):{m:sgn({{i}({pl}):{args(2+)} {pl}})}}}


{=(COMMENT):Checks if user is a staff: mod, admin or dev}
{=(isStaff):{in(true):{{ct}({role.dev}):{urid}} {{ct}({role.admin}):{urid}} {{ct}({role.mod}):{urid}} {{ct}({role.cm}):{urid}}}}

{=(COMMENT):Emojis storage}
{=(e.envelope):๐Ÿ“จ}
{=(e.greentick):<:GreenTick:699124840879226922>}
{=(e.redtick):<:RedTick:699124870352732251>}

{=(COMMENT):Default message for User or Staff, to display the appropriate error message}
{=(msg.errorUser):{um}, did you make a piece of art that you want to share with the community and that you think fits <#{channel.fanart}>?

Your fanart will be forwarded to the staff team so they can review it. If it follows our <#{channel.rules}> and our <#{channel.fanart}> posting guidelines, then it will be posted in the channel for everyone to see and enjoy!

Use the command below, where **Image URL** needs to be a direct link to an image *(Use `!dl` in <#{channel.playground}> to know more about direct image links!)*, and a **title or description** of your fanart piece if any! *(This is optional, don't worry!)*

*P.S. Note that the review process has no minimum or maximum delay, and review is at their own discretion. Please do not contact any administrator, moderator or developer in the team about it.*

**Usage**
```prolog
!fanart submit <Image URL> [Optional Fanart Title or Description]```**Example**```diff
!fanart submit https://i.imgur.com/someimg.png Carl-bot in the snow!
```}
{=(msg.errorStaff):{um}, as a Staff member, you can review posted <#{channel.fanart}> by the community with this command.

Specify the **image URL** provided by the user, a **target mention** of its creator, and if they provided a **title or description to their piece**, then also paste it.

**Usage**
```prolog
!fanart review|post <Image URL> <Target Mention> [Optional Fanart Title or Description]```**Example**```diff
!fanart review https://i.imgur.com/someimg.png <@235148962103951360> Carl-bot in the snow!
```}

{=(msg.default):{msg.error{if({isStaff}==true):Staff|User}}}

{=(COMMENT):Default output when no subcommand is specified or that "None" is returned}
{=(msg.{subcommand}.{{subcommand}Case}):{msg.default}}

{=(COMMENT):Returns the "word" corresponding to the detected subcommand and case based on the checks above.}
{=(submitCases):noextraargs invalidurl success}
{=(submitIndex):{{i}(false):0 {isExtraArgs} {isValidImage} false}}
{=(submitCase):{submitCases({submitIndex})}}

{=(invalidString):{if({isDirectLink}==false):not a direct image link|{if({isWhitelistedLink}==false):not hosted in our whitelisted websites, namely `(i.)imgur.com` and `cdn.discordapp.com`}}}

{=(msg.submit.noextraargs):{msg.default}}
{=(msg.submit.invalidurl):{e.redtick} {um}, the **image URL** you provided is {invalidString}, therefore I couldn't submit it for review.

Please ensure it includes one of the following image extensions:
`.jpg`, `.gif`, `.png`

Use `!dl` in <#{channel.playground}> for more info about how to properly get one, and try again.

> ๐Ÿ’ก Tip: You can upload the picture on [imgur](https://imgur.com/upload "Upload an image to imgur.com").}
{=(msg.submit.success):{e.envelope} {um}, **your fanart has successfully been forwarded** to the staff team for review!

Thank you for making fanart about your favorite virtual turtle, we appreciate your appreciation!

*P.S. Note that the review process has no minimum or maximum delay, and review is at their own discretion. Please do not contact any administrator, moderator or developer in the team about it.

Of course, any misuse or abuse of the command when submitting will result in moderation actions.*}

{=(reviewCases):notstaff noextraargs invalidurl notarget success}
{=(reviewIndex):{{i}(false):0 {isStaff} {isExtraArgs} {isValidImage} {isTarget} false}}
{=(reviewCase):{reviewCases({reviewIndex})}}

{=(msg.review.notstaff):โš ๏ธ {um}, you are not part of the Carl-bot Help's Staff Team, therefore you are not allowed to review fanarts posted by other members. Nice try. :clown:

To submit a fanart as a community member, your allowed subcommand is `submit`.
Use `!fanart` or `!fanart submit` for a usage example.}
{=(msg.review.noextraargs):{msg.default}}
{=(msg.review.invalidurl):{e.redtick} {um}, the **image URL** you provided (`{i.imgurl}`) is {invalidString}, therefore I couldn't post it.

[Upload the picture on imgur](https://imgur.com/upload "Upload an image to imgur.com")}
{=(msg.review.notarget):{e.redtick} {um}, you need to mention the fanart's creator along with the command. Note that a user ID on its own won't work. It does need to be an actual mention and of someone else than yourself.

See `!fanart review` for usage example.}
{=(msg.review.success):{e.greentick} {um}, the [fanart piece]({i.imgurl}) from {target(mention)} (`{target(id)}`) has successfully been reviewed and posted to <#{channel.fanart}>!

๐Ÿ’ก You may react to the corresponding submission in <#{channel.fanartreviews}> with {e.greentick} to let other staff members know it has been successfully reviewed and posted.}


{=(COMMENT):Multi-switch variable call to return the msg. variable corresponding to the checks and subcommands}
{=(finalCase):{{subcommand}Case}}
{=(output):{{r}(",\"):{msg.{subcommand}.{finalCase}}}}

{=(outputTitle):Fanart {all({isStaff}==true|{subcommand}==submit):Submission|{if({isStaff}==true):Review|Submission}}}

{=(jsonToSend):{"title":"{outputTitle}","description":"{output}","color":3092790}}
{=(sendCurrentChannel):c:cembed {channel(id)} {jsonToSend}}

{=():}
{=(shouldSubmit):{in(true true):{{ct}(submit):{subcommand}} {{ct}(success):{finalCase}}}}

{=(shouldPostFanart):{in(true true):{{ct}(review):{subcommand}} {{ct}(success):{finalCase}}}}

{=(COMMENT):Redirects the tag's output to the fanart reviews channel if subcommand is "submit" and the final case "success"}
{{if({shouldSubmit}==true):redirect:{channel.fanartreviews}|{if({shouldPostFanart}==true):redirect:{channel.fanart}}}}

{=(COMMENT):Produces the current channel's embed at all times. It's in a variable call in case I want to make it conditional later.}
{{sendCurrentChannel}}

{=(COMMENT):Fanart reviews' embed message management}
{embed(color):#2f3136}

{=(imgDNS):{i.imgurl(3):/}}
{=(imgScan):https://www.google.com/searchbyimage?image_url={urlencode:{i.imgurl}}}
{=(imgScan):https://tineye.com/search/?&url={urlencode:{i.imgurl}}}

{=(em.title):{if({shouldSubmit}==true):Fanart Submission}}

{=(userToTake):{if({shouldSubmit}==true):user|{if({shouldPostFanart}==true):target|user}}}

{=(em.desc):{if({shouldSubmit}==true):Made by **{{userToTake}(proper)}** ({{userToTake}(mention)})
{labelString}}

{if({shouldSubmit}==true):[Image URL]({i.imgurl}) (`{imgDNS}`)
{if({shouldSubmit}==true):[Scan for Original Content]({imgScan}) (`{imgScan(3):/}`)

```css
!fanart review {i.imgurl} <@{user(id)}> {i.label}
```}}}

{=(em.footer):{{userToTake}(id)}}
{=(em.footerIcon):{{r}(.gif,.png):{{userToTake}(avatar)}}}

{=(COMMENT):Adds reactions below the embed in fanart review when posted}
{{if({shouldSubmit}==true):react:๐Ÿ‘ ๐Ÿ‘Ž {e.greentick} {e.redtick}}}

{=(shouldSubmitOrPost):{in(true):{{ct}(true):{shouldSubmit}} {{ct}({shouldPostFanart}}}}

{=(COMMENT):Conditionally breaks the embed in fanart reviews with a bad image url so it doesn't get sent.}
{=(em.img):{if({shouldSubmitOrPost}==true):{i.imgurl}|{pl}}}

{=(COMMENT):Fanart caption and mention above the embed when posting in fanart, to ensure the post can be put into starboard}
{if({shouldPostFanart}==true):Made by **{{userToTake}(proper)}** ({{userToTake}(mention)})
{labelString}}

{override}
{=(COMMENT):Deletes the invocation only when the user is not staff and when they're not reviewing.}
{{and({isStaff}==false|{subcommand}!=review):delete}}

{=(debug):__Debug:__
**Args**
raw sub input: ` {i.sub} `
subcommand: `{subcommand}`

i.imgurl: ` {i.imgurl} `
i.label: ` {i.label} `

isTarget: ` {isTarget} `
userToTake: ` {userToTake} `

**Checks**
isArgs: `{isArgs}`
isExtraArgs: `{isExtraArgs}`

isHTTP: `{isHTTP}`
isImageExtension: `{isImageExtension}`
isDirectLink: `{isDirectLink}`
isWhitelistedLink: `{isWhitelistedLink}`
isValidImage: `{isValidImage}`

isStaff: `{isStaff}`

subcommandCase: `{{subcommand}Case}`

**Embed Fields**
em.img: ` {em.img} `
em.footerIcon: ` {em.footerIcon} `

output:
{output}
}

Embed

1 line
{"color": 5198940, "image": {"url": "{em.img}"}, "title": "{em.title}", "footer": {"text": "{em.footer}", "icon_url": "{em.footerIcon}"}, "description": "{em.desc}"}
Raw JSON
{
  "id": 1364191,
  "created_at": "2022-04-10T00:28:07.000Z",
  "tag_name": "fanart",
  "nsfw": false,
  "owner_id": "149926720114262016",
  "uses": 295,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "186980582863929345",
  "sharer": "149926720114262016",
  "content": "{=(COMMENT):Channels storage}\n{=(channel.fanart):524309734770343965}\n{=(channel.playground):456625369974308866}\n{=(channel.rules):467085431360454656}\n\n{=(channel.fanarttest):962528500999397406}\n\n{=(channel.fanartreviews):962517819549949983}\n\n{=(channel.modpg):781689754122321970}\n\n{=(COMMENT):Roles storage}\n{=(role.dev):195025754864484352}\n{=(role.admin):219776153613893632}\n{=(role.mod):209797471608635392}\n{=(role.cm):897727507221073931}\n\n{require( ):{channel.modpg},{channel.playground}}\n\n{=(COMMENT):Blocks shortener and aliases}\n{=(r):replace}\n{=(j):join}\n{=(i):index}\n{=(ct):contains}\n{=(pl):$&!}\n{=(urid):{user(roleids)}}\n{=(um):{user(mention)}}\n\n\n{=(COMMENT):Subcommand and arguments part}\n{=(subcommands):submit review post None !}\n\n{=(jargs):{{j}(~):! {args}}}\n{=(i.sub):{list(1):{lower:{jargs}}}}\n\n{=(subcommand):{subcommands({{i}({i.sub}):{{r}({i.sub},. {i.sub} .):{subcommands}}})}}\n{=(COMMENT):Returns \"review\" if final subcommand is \"post\", to create a subcommand alias.}\n{=(subcommand):{if({subcommand}=={subcommands(3)}):{subcommands(2)}|{subcommand}}}\n\n{=(COMMENT):Returns true if the detected subcommand is either \"review\" or \"post\"}\n{=(isReview):{in(true):{{ct}({subcommands(2)}):{subcommand}} {{ct}({subcommands(3)}):{subcommand}}}}\n\n{=(i.label):{args({if({isReview}==true):4|3}+)}}\n\n{=(i.imgurl):{list(2):{jargs}}}\n\n{=(COMMENT):Checks if a fanart title/desc/label was provided}\n{=(isLabel):!={i.label}}\n\n{=(COMMENT):Checks if a target was mentioned (other than the user).\nThis could be edited later so mods can post their own fanart by pinging themselves; but they shouldn't need to use the review tag anyways}\n{=(isTarget):{in(false):{{ct}({user(id)}):{target(id)}}}}\n\n{=(COMMENT):Image URL Validator}\n{=(isHTTP):{in(true):{in(http):{i.imgurl}}}}\n{=(isImageExtension):{in(true):{in(.jpg):{i.imgurl}} {in(.jpeg):{i.imgurl}} {in(.png):{i.imgurl}} {in(.gif):{i.imgurl}} {in(.webp):{i.imgurl}}}}\n{=(isDirectLink):{in(true true):{isHTTP} {isImageExtension}}}\n\n{=(COMMENT):Checks if the image URL is among the only whitelisted domains.}\n{=(isWhitelistedLink):{in(true):{in(://cdn.discordapp.com/attachments/):{i.imgurl}} {in(://media.discordapp.net/attachments/):{i.imgurl}} {in(://imgur.com/):{i.imgurl}} {in(://i.imgur.com/):{i.imgurl}}}}\n\n{=(isValidImage):{in(true true):{isDirectLink} {isWhitelistedLink}}}\n\n{=(COMMENT):Currently unused. Call this if you want a custom string to be displayed in the embed above the image when no label has been specified. Cleaner when nothing tbh.}\n{=(labelString):{if({isLabel}):> {i.label}|}}\n\n{=(COMMENT):Returns true or false from the signum of the first argument. If 1, then there was an argument, so at least a subcommand}\n{=(isArgs):{{ct}(1):{m:sgn({{i}({pl}):{i.sub} {pl}})}}}\n\n{=(COMMENT):Returns true if there was at least one argument after the subcommand}\n{=(isExtraArgs):{{ct}(1):{m:sgn({{i}({pl}):{args(2+)} {pl}})}}}\n\n\n{=(COMMENT):Checks if user is a staff: mod, admin or dev}\n{=(isStaff):{in(true):{{ct}({role.dev}):{urid}} {{ct}({role.admin}):{urid}} {{ct}({role.mod}):{urid}} {{ct}({role.cm}):{urid}}}}\n\n{=(COMMENT):Emojis storage}\n{=(e.envelope):๐Ÿ“จ}\n{=(e.greentick):<:GreenTick:699124840879226922>}\n{=(e.redtick):<:RedTick:699124870352732251>}\n\n{=(COMMENT):Default message for User or Staff, to display the appropriate error message}\n{=(msg.errorUser):{um}, did you make a piece of art that you want to share with the community and that you think fits <#{channel.fanart}>?\n\nYour fanart will be forwarded to the staff team so they can review it. If it follows our <#{channel.rules}> and our <#{channel.fanart}> posting guidelines, then it will be posted in the channel for everyone to see and enjoy!\n\nUse the command below, where **Image URL** needs to be a direct link to an image *(Use `!dl` in <#{channel.playground}> to know more about direct image links!)*, and a **title or description** of your fanart piece if any! *(This is optional, don't worry!)*\n\n*P.S. Note that the review process has no minimum or maximum delay, and review is at their own discretion. Please do not contact any administrator, moderator or developer in the team about it.*\n\n**Usage**\n```prolog\n!fanart submit <Image URL> [Optional Fanart Title or Description]```**Example**```diff\n!fanart submit https://i.imgur.com/someimg.png Carl-bot in the snow!\n```}\n{=(msg.errorStaff):{um}, as a Staff member, you can review posted <#{channel.fanart}> by the community with this command.\n\nSpecify the **image URL** provided by the user, a **target mention** of its creator, and if they provided a **title or description to their piece**, then also paste it.\n\n**Usage**\n```prolog\n!fanart review|post <Image URL> <Target Mention> [Optional Fanart Title or Description]```**Example**```diff\n!fanart review https://i.imgur.com/someimg.png <@235148962103951360> Carl-bot in the snow!\n```}\n\n{=(msg.default):{msg.error{if({isStaff}==true):Staff|User}}}\n\n{=(COMMENT):Default output when no subcommand is specified or that \"None\" is returned}\n{=(msg.{subcommand}.{{subcommand}Case}):{msg.default}}\n\n{=(COMMENT):Returns the \"word\" corresponding to the detected subcommand and case based on the checks above.}\n{=(submitCases):noextraargs invalidurl success}\n{=(submitIndex):{{i}(false):0 {isExtraArgs} {isValidImage} false}}\n{=(submitCase):{submitCases({submitIndex})}}\n\n{=(invalidString):{if({isDirectLink}==false):not a direct image link|{if({isWhitelistedLink}==false):not hosted in our whitelisted websites, namely `(i.)imgur.com` and `cdn.discordapp.com`}}}\n\n{=(msg.submit.noextraargs):{msg.default}}\n{=(msg.submit.invalidurl):{e.redtick} {um}, the **image URL** you provided is {invalidString}, therefore I couldn't submit it for review.\n\nPlease ensure it includes one of the following image extensions:\n`.jpg`, `.gif`, `.png`\n\nUse `!dl` in <#{channel.playground}> for more info about how to properly get one, and try again.\n\n> ๐Ÿ’ก Tip: You can upload the picture on [imgur](https://imgur.com/upload \"Upload an image to imgur.com\").}\n{=(msg.submit.success):{e.envelope} {um}, **your fanart has successfully been forwarded** to the staff team for review!\n\nThank you for making fanart about your favorite virtual turtle, we appreciate your appreciation!\n\n*P.S. Note that the review process has no minimum or maximum delay, and review is at their own discretion. Please do not contact any administrator, moderator or developer in the team about it.\n\nOf course, any misuse or abuse of the command when submitting will result in moderation actions.*}\n\n{=(reviewCases):notstaff noextraargs invalidurl notarget success}\n{=(reviewIndex):{{i}(false):0 {isStaff} {isExtraArgs} {isValidImage} {isTarget} false}}\n{=(reviewCase):{reviewCases({reviewIndex})}}\n\n{=(msg.review.notstaff):โš ๏ธ {um}, you are not part of the Carl-bot Help's Staff Team, therefore you are not allowed to review fanarts posted by other members. Nice try. :clown:\n\nTo submit a fanart as a community member, your allowed subcommand is `submit`.\nUse `!fanart` or `!fanart submit` for a usage example.}\n{=(msg.review.noextraargs):{msg.default}}\n{=(msg.review.invalidurl):{e.redtick} {um}, the **image URL** you provided (`{i.imgurl}`) is {invalidString}, therefore I couldn't post it.\n\n[Upload the picture on imgur](https://imgur.com/upload \"Upload an image to imgur.com\")}\n{=(msg.review.notarget):{e.redtick} {um}, you need to mention the fanart's creator along with the command. Note that a user ID on its own won't work. It does need to be an actual mention and of someone else than yourself.\n\nSee `!fanart review` for usage example.}\n{=(msg.review.success):{e.greentick} {um}, the [fanart piece]({i.imgurl}) from {target(mention)} (`{target(id)}`) has successfully been reviewed and posted to <#{channel.fanart}>!\n\n๐Ÿ’ก You may react to the corresponding submission in <#{channel.fanartreviews}> with {e.greentick} to let other staff members know it has been successfully reviewed and posted.}\n\n\n{=(COMMENT):Multi-switch variable call to return the msg. variable corresponding to the checks and subcommands}\n{=(finalCase):{{subcommand}Case}}\n{=(output):{{r}(\",\\\"):{msg.{subcommand}.{finalCase}}}}\n\n{=(outputTitle):Fanart {all({isStaff}==true|{subcommand}==submit):Submission|{if({isStaff}==true):Review|Submission}}}\n\n{=(jsonToSend):{\"title\":\"{outputTitle}\",\"description\":\"{output}\",\"color\":3092790}}\n{=(sendCurrentChannel):c:cembed {channel(id)} {jsonToSend}}\n\n{=():}\n{=(shouldSubmit):{in(true true):{{ct}(submit):{subcommand}} {{ct}(success):{finalCase}}}}\n\n{=(shouldPostFanart):{in(true true):{{ct}(review):{subcommand}} {{ct}(success):{finalCase}}}}\n\n{=(COMMENT):Redirects the tag's output to the fanart reviews channel if subcommand is \"submit\" and the final case \"success\"}\n{{if({shouldSubmit}==true):redirect:{channel.fanartreviews}|{if({shouldPostFanart}==true):redirect:{channel.fanart}}}}\n\n{=(COMMENT):Produces the current channel's embed at all times. It's in a variable call in case I want to make it conditional later.}\n{{sendCurrentChannel}}\n\n{=(COMMENT):Fanart reviews' embed message management}\n{embed(color):#2f3136}\n\n{=(imgDNS):{i.imgurl(3):/}}\n{=(imgScan):https://www.google.com/searchbyimage?image_url={urlencode:{i.imgurl}}}\n{=(imgScan):https://tineye.com/search/?&url={urlencode:{i.imgurl}}}\n\n{=(em.title):{if({shouldSubmit}==true):Fanart Submission}}\n\n{=(userToTake):{if({shouldSubmit}==true):user|{if({shouldPostFanart}==true):target|user}}}\n\n{=(em.desc):{if({shouldSubmit}==true):Made by **{{userToTake}(proper)}** ({{userToTake}(mention)})\n{labelString}}\n\n{if({shouldSubmit}==true):[Image URL]({i.imgurl}) (`{imgDNS}`)\n{if({shouldSubmit}==true):[Scan for Original Content]({imgScan}) (`{imgScan(3):/}`)\n\n```css\n!fanart review {i.imgurl} <@{user(id)}> {i.label}\n```}}}\n\n{=(em.footer):{{userToTake}(id)}}\n{=(em.footerIcon):{{r}(.gif,.png):{{userToTake}(avatar)}}}\n\n{=(COMMENT):Adds reactions below the embed in fanart review when posted}\n{{if({shouldSubmit}==true):react:๐Ÿ‘ ๐Ÿ‘Ž {e.greentick} {e.redtick}}}\n\n{=(shouldSubmitOrPost):{in(true):{{ct}(true):{shouldSubmit}} {{ct}({shouldPostFanart}}}}\n\n{=(COMMENT):Conditionally breaks the embed in fanart reviews with a bad image url so it doesn't get sent.}\n{=(em.img):{if({shouldSubmitOrPost}==true):{i.imgurl}|{pl}}}\n\n{=(COMMENT):Fanart caption and mention above the embed when posting in fanart, to ensure the post can be put into starboard}\n{if({shouldPostFanart}==true):Made by **{{userToTake}(proper)}** ({{userToTake}(mention)})\n{labelString}}\n\n{override}\n{=(COMMENT):Deletes the invocation only when the user is not staff and when they're not reviewing.}\n{{and({isStaff}==false|{subcommand}!=review):delete}}\n\n{=(debug):__Debug:__\n**Args**\nraw sub input: ` {i.sub} `\nsubcommand: `{subcommand}`\n\ni.imgurl: ` {i.imgurl} `\ni.label: ` {i.label} `\n\nisTarget: ` {isTarget} `\nuserToTake: ` {userToTake} `\n\n**Checks**\nisArgs: `{isArgs}`\nisExtraArgs: `{isExtraArgs}`\n\nisHTTP: `{isHTTP}`\nisImageExtension: `{isImageExtension}`\nisDirectLink: `{isDirectLink}`\nisWhitelistedLink: `{isWhitelistedLink}`\nisValidImage: `{isValidImage}`\n\nisStaff: `{isStaff}`\n\nsubcommandCase: `{{subcommand}Case}`\n\n**Embed Fields**\nem.img: ` {em.img} `\nem.footerIcon: ` {em.footerIcon} `\n\noutput:\n{output}\n}",
  "embed": "{\"color\": 5198940, \"image\": {\"url\": \"{em.img}\"}, \"title\": \"{em.title}\", \"footer\": {\"text\": \"{em.footer}\", \"icon_url\": \"{em.footerIcon}\"}, \"description\": \"{em.desc}\"}",
  "last_fetched": "2026-10-20T18:44:34.194Z"
}