review

Privateunrated

Content

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

{=(COMMENT):The cooldown, and roleid that will be added and blacklisted}
{=(blacklist.roleid):750371568701538309}
{=(blacklist.cooldown):4h}

{=(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): The blacklist, and the command that gives your blacklisted role}
{blacklist(You have to wait 4 hours before posting another review!):{blacklist.roleid}}
{c:temprole {user(id)} {blacklist.roleid} {blacklist.cooldown}}

{=(COMMENT):Parsing everything, rounding everything etc}
{=(review.thing):{args(1):{tag.separator}}}
{=(review.review):{args(2):{tag.separator}}}
{=(review.stars):{m:trunc({m:round({args(3):{tag.separator}})})}} {=(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(4):{tag.separator}}}
{=(review.extras):{args(5+):{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.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}
{=(embed.stars):No Star Rating Given} {=(README):What to output if no or an invalid number is given}
{=(review.stars.embed):es.{review.stars}}
{=(es.1):{star.emoji}}
{=(es.2):{star.emoji}{star.emoji}}
{=(es.3):{star.emoji}{star.emoji}{star.emoji}}
{=(es.4):{star.emoji}{star.emoji}{star.emoji}{star.emoji}}
{=(es.5):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}}
{=(es.6):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}}
{=(es.7):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}}
{=(es.8):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}}
{=(es.9):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}}
{=(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):{{embed.stars}}}

Embed

1 line
{"color": 16777215, "image": {"url": "{embed.image}"}, "title": "{review.thing}", "author": {"name": "{server}", "icon_url": "{server(icon)}"}, "fields": [{"name": "Final Rating!", "value": "> {embed.stars}", "inline": false}], "footer": {"text": "{user(proper)}", "icon_url": "{user(avatar)}"}, "description": "{review.review}\n"}
Raw JSON
{
  "id": 538631,
  "created_at": "2021-01-16T16:48:23.000Z",
  "tag_name": "review",
  "nsfw": false,
  "owner_id": "444547393141211147",
  "uses": 2,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "799926904789925939",
  "sharer": "444547393141211147",
  "content": "{=(COMMENT):default vars that shouldn't be deleted in any circumstance}\\\n{del} {silent} {override} \n\n{=(COMMENT):The cooldown, and roleid that will be added and blacklisted}\n{=(blacklist.roleid):750371568701538309}\n{=(blacklist.cooldown):4h}\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): The blacklist, and the command that gives your blacklisted role}\n{blacklist(You have to wait 4 hours before posting another review!):{blacklist.roleid}}\n{c:temprole {user(id)} {blacklist.roleid} {blacklist.cooldown}}\n\n{=(COMMENT):Parsing everything, rounding everything etc}\n{=(review.thing):{args(1):{tag.separator}}}\n{=(review.review):{args(2):{tag.separator}}}\n{=(review.stars):{m:trunc({m:round({args(3):{tag.separator}})})}} {=(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(4):{tag.separator}}}\n{=(review.extras):{args(5+):{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.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{=(embed.stars):No Star Rating Given} {=(README):What to output if no or an invalid number is given}\n{=(review.stars.embed):es.{review.stars}}\n{=(es.1):{star.emoji}}\n{=(es.2):{star.emoji}{star.emoji}}\n{=(es.3):{star.emoji}{star.emoji}{star.emoji}}\n{=(es.4):{star.emoji}{star.emoji}{star.emoji}{star.emoji}}\n{=(es.5):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}}\n{=(es.6):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}}\n{=(es.7):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}}\n{=(es.8):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}}\n{=(es.9):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}}\n{=(es.10):{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}{star.emoji}}\n{=(README):Just setting what the stars look like, change it if you want}\n{=(embed.stars):{{embed.stars}}}",
  "embed": "{\"color\": 16777215, \"image\": {\"url\": \"{embed.image}\"}, \"title\": \"{review.thing}\", \"author\": {\"name\": \"{server}\", \"icon_url\": \"{server(icon)}\"}, \"fields\": [{\"name\": \"Final Rating!\", \"value\": \"> {embed.stars}\", \"inline\": false}], \"footer\": {\"text\": \"{user(proper)}\", \"icon_url\": \"{user(avatar)}\"}, \"description\": \"{review.review}\\n\"}",
  "last_fetched": "2026-10-20T23:49:30.714Z"
}