complexpoll

Private

Content

36 lines
{=(COMMENT):***Deletes command invocation, redirects message.***}
{override}{delete}

{=(COMMENT):***Limits use to staff and hosts.***}
{require(you're not allowed to use that command!): <@&754493242942292060>, <@&831228220623028234>}

{=(COMMENT):***Stores the user's avatar in icon, and their username in author.***}
{=(icon):{user(avatar)}}
{=(author):{user}}

{=(COMMENT):***Dynamic timestamps at end of embed.***}
{embed(timestamp):now}
{=(time):{strf:%FT%T}.000Z}

{=(COMMENT):***Sets the embed color to the user's color.***}
{embed(color):#c6d663}

{=(COMMENT):***Parses arguments into two variables.***}
{=(question):{args(1)://}}
{=(answers):{args(2)://}}
{=(target):{args(3+)://}}

{=(COMMENT):***Stores all emotes in a variable.***}
{=(emote): <:zi_one:843565971942801418> <:zh_two:843565972128399390> <:zg_three:843565971964166154> <:zf_four:843565971821166632> <:ze_five:843565971355730051> <:zd_six:843565971624951838>}

{=(COMMENT):***Populates the embed with reactions.***}
{=(arglength):{if({answers(2):,}!={answers}):2|{arglength}}}
{=(arglength):{if({answers(3):,}!={answers}):3|{arglength}}}
{=(arglength):{if({answers(4):,}!={answers}):4|{arglength}}}
{=(arglength):{if({answers(5):,}!={answers}):5|{arglength}}}
{=(arglength):{if({answers(6):,}!={answers}):6|{arglength}}}
{=(arglength):{if({answers(7):,}!={answers}):7|{arglength}}}
{react: {emote(+{arglength})}}

{=(error):}
‧₊ ˚ {target} ・・ **__new poll !__** ౨

Embed

1 line
{"color": 5198940, "title": "҂ ◟poll time ! ੭", "footer": {"text": "{user}"}, "description": "**{question}**\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ ・・\n{if({answers(2):,}!={answers}): > {emote(2)} ︰ {answers(1):,}}\n{if({answers(3):,}!={answers}): > {emote(3)} ︰ {answers(2):,}}\n{if({answers(4):,}!={answers}): > {emote(4)} ︰ {answers(3):,}}\n{if({answers(5):,}!={answers}): > {emote(5)} ︰ {answers(4):,}}\n{if({answers(6):,}!={answers}): > {emote(6)} ︰ {answers(5):,}}\n{if({answers(7):,}!={answers}): > {emote(7)} ︰ {answers(6):,}}\n"}
Raw JSON
{
  "id": 829499,
  "created_at": "2021-05-16T17:26:54.000Z",
  "tag_name": "complexpoll",
  "nsfw": false,
  "owner_id": "345793511851032576",
  "uses": 127,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "754491384727339110",
  "sharer": "345793511851032576",
  "content": "{=(COMMENT):***Deletes command invocation, redirects message.***}\n{override}{delete}\n\n{=(COMMENT):***Limits use to staff and hosts.***}\n{require(you're not allowed to use that command!): <@&754493242942292060>, <@&831228220623028234>}\n\n{=(COMMENT):***Stores the user's avatar in icon, and their username in author.***}\n{=(icon):{user(avatar)}}\n{=(author):{user}}\n\n{=(COMMENT):***Dynamic timestamps at end of embed.***}\n{embed(timestamp):now}\n{=(time):{strf:%FT%T}.000Z}\n\n{=(COMMENT):***Sets the embed color to the user's color.***}\n{embed(color):#c6d663}\n\n{=(COMMENT):***Parses arguments into two variables.***}\n{=(question):{args(1)://}}\n{=(answers):{args(2)://}}\n{=(target):{args(3+)://}}\n\n{=(COMMENT):***Stores all emotes in a variable.***}\n{=(emote): <:zi_one:843565971942801418> <:zh_two:843565972128399390> <:zg_three:843565971964166154> <:zf_four:843565971821166632> <:ze_five:843565971355730051> <:zd_six:843565971624951838>}\n\n{=(COMMENT):***Populates the embed with reactions.***}\n{=(arglength):{if({answers(2):,}!={answers}):2|{arglength}}}\n{=(arglength):{if({answers(3):,}!={answers}):3|{arglength}}}\n{=(arglength):{if({answers(4):,}!={answers}):4|{arglength}}}\n{=(arglength):{if({answers(5):,}!={answers}):5|{arglength}}}\n{=(arglength):{if({answers(6):,}!={answers}):6|{arglength}}}\n{=(arglength):{if({answers(7):,}!={answers}):7|{arglength}}}\n{react: {emote(+{arglength})}}\n\n{=(error):}\n‧₊ ˚ {target} ・・ **__new poll !__** ౨",
  "embed": "{\"color\": 5198940, \"title\": \"҂ ◟poll time ! ੭\", \"footer\": {\"text\": \"{user}\"}, \"description\": \"**{question}**\\n⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ ・・\\n{if({answers(2):,}!={answers}): > {emote(2)} ︰ {answers(1):,}}\\n{if({answers(3):,}!={answers}): > {emote(3)} ︰ {answers(2):,}}\\n{if({answers(4):,}!={answers}): > {emote(4)} ︰ {answers(3):,}}\\n{if({answers(5):,}!={answers}): > {emote(5)} ︰ {answers(4):,}}\\n{if({answers(6):,}!={answers}): > {emote(6)} ︰ {answers(5):,}}\\n{if({answers(7):,}!={answers}): > {emote(7)} ︰ {answers(6):,}}\\n\"}",
  "last_fetched": "2026-10-21T01:31:04.430Z"
}