auction

Privateunrated

Content

41 lines
{override}{=():}
{embed(timestamp):now}

{=(prefix):-}
{=(tagname):auction}
{=(separator):/}
{=(requiredargs):2}

{=(arglen):{index($&@):{args} $&@}}
{=(newarglen):{index($&@):{replace({separator},. .):{args}} $&@}}
{=(sepcount):{m:trunc({newarglen}-{arglen})}}

{=(name):Request Auction #{uses}}
{=(title):{target(proper)} is requesting for auction!}

{=(num):{any({1}==|{sepcount}<{m:trunc({requiredargs}-1)}):1|0}}

{=(msg0):<a:arrow:775566611892404224> **Item to Bid:** {if({args(1):{separator}}==):No Item|{args(1):{separator}}}
<a:arrow:775566611892404224> **Starting:** {if({args(2):{separator}}==):No Amount|{args(2):{separator}}}
<a:arrow:775566611892404224> **Required:** 4 
<a:arrow:775566611892404224> **Notes:** {if({args(3):{separator}}==):No Message|{args(3):{separator}}}}

{=(msg1):You did not provide enough information. 

Your input should include 2 `{separator}`. To keep a section blank just dont put in any text in that section. 

Sections: `Item{separator}Starting Bid{separator}Notes`
Usage Example: `{prefix}{tagname} 5 bank notes{separator}450k{separator}`}

{{if({num}==0):redirect:773328216294686761}}

{=(success):**Request for auction sent!**  Your ticket number is **{uses}**. Kindly wait for an auction staff to do your bid at the <#770603419843952640>. Thank you!}
{=(error):Oops, wrong format! Read below & try again.}
{=(meh):<a:redtick:787609830457737236>}
{=(yay):<a:greentick:787609674202611733> <a:redtick:787609830457737236>}

{=(decision):{if({num}==0):{success}|{error}}}
{=(rct):{if({num}==0):{yay}|{meh}}}
{c:echo {channel} {decision}}
{require:772709042781945857}
{react:{rct}}

Embed

1 line
{"color": 16312092, "title": "{if({num}==0):{title}}", "author": {"name": "{if({num}==0):{name}}"}, "footer": {"text": "{server}", "icon_url": "{replace(png,gif):{server(icon)}}"}, "description": "{msg{num}}"}
Raw JSON
{
  "id": 391124,
  "created_at": "2020-10-25T00:09:01.000Z",
  "tag_name": "auction",
  "nsfw": false,
  "owner_id": "468345520008724480",
  "uses": 0,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "723916161061748757",
  "sharer": "670266479467298838",
  "content": "{override}{=():}\n{embed(timestamp):now}\n\n{=(prefix):-}\n{=(tagname):auction}\n{=(separator):/}\n{=(requiredargs):2}\n\n{=(arglen):{index($&@):{args} $&@}}\n{=(newarglen):{index($&@):{replace({separator},. .):{args}} $&@}}\n{=(sepcount):{m:trunc({newarglen}-{arglen})}}\n\n{=(name):Request Auction #{uses}}\n{=(title):{target(proper)} is requesting for auction!}\n\n{=(num):{any({1}==|{sepcount}<{m:trunc({requiredargs}-1)}):1|0}}\n\n{=(msg0):<a:arrow:775566611892404224> **Item to Bid:** {if({args(1):{separator}}==):No Item|{args(1):{separator}}}\n<a:arrow:775566611892404224> **Starting:** {if({args(2):{separator}}==):No Amount|{args(2):{separator}}}\n<a:arrow:775566611892404224> **Required:** 4 \n<a:arrow:775566611892404224> **Notes:** {if({args(3):{separator}}==):No Message|{args(3):{separator}}}}\n\n{=(msg1):You did not provide enough information. \n\nYour input should include 2 `{separator}`. To keep a section blank just dont put in any text in that section. \n\nSections: `Item{separator}Starting Bid{separator}Notes`\nUsage Example: `{prefix}{tagname} 5 bank notes{separator}450k{separator}`}\n\n{{if({num}==0):redirect:773328216294686761}}\n\n{=(success):**Request for auction sent!**  Your ticket number is **{uses}**. Kindly wait for an auction staff to do your bid at the <#770603419843952640>. Thank you!}\n{=(error):Oops, wrong format! Read below & try again.}\n{=(meh):<a:redtick:787609830457737236>}\n{=(yay):<a:greentick:787609674202611733> <a:redtick:787609830457737236>}\n\n{=(decision):{if({num}==0):{success}|{error}}}\n{=(rct):{if({num}==0):{yay}|{meh}}}\n{c:echo {channel} {decision}}\n{require:772709042781945857}\n{react:{rct}}",
  "embed": "{\"color\": 16312092, \"title\": \"{if({num}==0):{title}}\", \"author\": {\"name\": \"{if({num}==0):{name}}\"}, \"footer\": {\"text\": \"{server}\", \"icon_url\": \"{replace(png,gif):{server(icon)}}\"}, \"description\": \"{msg{num}}\"}",
  "last_fetched": "2026-10-20T22:52:36.500Z"
}