review

Privateunrated

Content

42 lines
{=(COMMENT):default vars that shouldn't be deleted in any circumstance}
{del} {silent} {override} 

{=(COMMENT):Setting the color to the users color if its grey make it random}
{=(embed.hex):0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F}
{=(embed.color):#{#:{embed.hex}}{#:{embed.hex}}{#:{embed.hex}}{#:{embed.hex}}{#:{embed.hex}}{#:{embed.hex}}}
{embed(color):{if({user(color)}==#000000):{embed.color}|{user(color)}}}

{=(COMMENT):The tag separator and the star, change them if you want, the tag separator shouldn't be // or else links that have https could mess it up though not likely}
{=(tag.separator):~}
{=(star.emoji):⭐}

{=(COMMENT):Parsing everything, rounding everything etc}
{=(review.thing):{args(1):{tag.separator}}}
{=(review.url):{args(2):{tag.separator}}}
{=(review.review):{args(3):{tag.separator}}}
{=(edited_num):{if({m:sgn({args(4):{tag.separator}})}==1):{if(=={args(4):{tag.separator}}):0|{args(4):{tag.separator}}}|0}}
{=(review.stars):{m:trunc({m:round({edited_num})})}} {=(README):The math block always returns the number with a decimal so a math block containing 1 + 1 would equal 2.0 not 2 not needed but makes it cleaner}
{=(review.image):{args(5):{tag.separator}}}
{=(review.extras):{args(6+):{tag.separator}}}

{=(COMMENT):Setting everything up, setting the title to the first arg up to /// setting the description and the image etc.}
{=(embed.title):{review.thing}}
{embed(url):{review.url}}
{=(embed.description):{review.review}}
{=(embed.image):{review.image}}

{=(COMMENT):How it makes the stars, checks if its bigger then 4 if yes make 5 stars if not check if its 3 and if so make 4 stars and so on}
{=(es.0):<:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572>}
{=(es.1):{star.emoji}<:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572>}
{=(es.2):{star.emoji}{star.emoji}<:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572>}
{=(es.3):{star.emoji}{star.emoji}{star.emoji}<:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572>}
{=(es.4):{star.emoji}{star.emoji}{star.emoji}{star.emoji}<:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572>}
{=(es.5):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}<:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572>}
{=(es.6):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}<:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572>}
{=(es.7):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}<:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572>}
{=(es.8):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}<:emptystar:864257715252887572><:emptystar:864257715252887572>}
{=(es.9):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}<:emptystar:864257715252887572>}
{=(es.10):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}}

{=(README):Just setting what the stars look like, change it if you want}
{=(embed.stars):{es.{review.stars}}}

Embed

1 line
{"color": 5198940, "image": {"url": "{embed.image}"}, "title": "{review.thing}", "author": {"name": "{user(proper)}", "icon_url": "{user(avatar)}"}, "fields": [{"name": "Final Rating:", "value": "> {embed.stars}", "inline": false}], "footer": {"text": "{server}", "icon_url": "{server(icon)}"}, "description": "{review.review}\n"}
Raw JSON
{
  "id": 944903,
  "created_at": "2021-07-13T15:36:37.000Z",
  "tag_name": "review",
  "nsfw": false,
  "owner_id": "181880156275605504",
  "uses": 56,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "855105438030888970",
  "sharer": "181880156275605504",
  "content": "{=(COMMENT):default vars that shouldn't be deleted in any circumstance}\n{del} {silent} {override} \n\n{=(COMMENT):Setting the color to the users color if its grey make it random}\n{=(embed.hex):0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F}\n{=(embed.color):#{#:{embed.hex}}{#:{embed.hex}}{#:{embed.hex}}{#:{embed.hex}}{#:{embed.hex}}{#:{embed.hex}}}\n{embed(color):{if({user(color)}==#000000):{embed.color}|{user(color)}}}\n\n{=(COMMENT):The tag separator and the star, change them if you want, the tag separator shouldn't be // or else links that have https could mess it up though not likely}\n{=(tag.separator):~}\n{=(star.emoji):⭐}\n\n{=(COMMENT):Parsing everything, rounding everything etc}\n{=(review.thing):{args(1):{tag.separator}}}\n{=(review.url):{args(2):{tag.separator}}}\n{=(review.review):{args(3):{tag.separator}}}\n{=(edited_num):{if({m:sgn({args(4):{tag.separator}})}==1):{if(=={args(4):{tag.separator}}):0|{args(4):{tag.separator}}}|0}}\n{=(review.stars):{m:trunc({m:round({edited_num})})}} {=(README):The math block always returns the number with a decimal so a math block containing 1 + 1 would equal 2.0 not 2 not needed but makes it cleaner}\n{=(review.image):{args(5):{tag.separator}}}\n{=(review.extras):{args(6+):{tag.separator}}}\n\n{=(COMMENT):Setting everything up, setting the title to the first arg up to /// setting the description and the image etc.}\n{=(embed.title):{review.thing}}\n{embed(url):{review.url}}\n{=(embed.description):{review.review}}\n{=(embed.image):{review.image}}\n\n{=(COMMENT):How it makes the stars, checks if its bigger then 4 if yes make 5 stars if not check if its 3 and if so make 4 stars and so on}\n{=(es.0):<:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572>}\n{=(es.1):{star.emoji}<:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572>}\n{=(es.2):{star.emoji}{star.emoji}<:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572>}\n{=(es.3):{star.emoji}{star.emoji}{star.emoji}<:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572>}\n{=(es.4):{star.emoji}{star.emoji}{star.emoji}{star.emoji}<:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572>}\n{=(es.5):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}<:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572>}\n{=(es.6):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}<:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572>}\n{=(es.7):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}<:emptystar:864257715252887572><:emptystar:864257715252887572><:emptystar:864257715252887572>}\n{=(es.8):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}<:emptystar:864257715252887572><:emptystar:864257715252887572>}\n{=(es.9):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}<:emptystar:864257715252887572>}\n{=(es.10):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}}\n\n{=(README):Just setting what the stars look like, change it if you want}\n{=(embed.stars):{es.{review.stars}}}",
  "embed": "{\"color\": 5198940, \"image\": {\"url\": \"{embed.image}\"}, \"title\": \"{review.thing}\", \"author\": {\"name\": \"{user(proper)}\", \"icon_url\": \"{user(avatar)}\"}, \"fields\": [{\"name\": \"Final Rating:\", \"value\": \"> {embed.stars}\", \"inline\": false}], \"footer\": {\"text\": \"{server}\", \"icon_url\": \"{server(icon)}\"}, \"description\": \"{review.review}\\n\"}",
  "last_fetched": "2026-10-20T17:04:41.923Z"
}