gdonate

Privateunrated

Content

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

{=(prefix):-}
{=(tagname):gdonate}
{=(separator):/}
{=(requiredargs):5}

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

{=(title):{target(proper)} wants to make a donation!}

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

{=(msg0):<a:arrow:775566611892404224> **Time:** {if({args(1):{separator}}==):No Time|{args(1):{separator}}}
<a:arrow:775566611892404224> **Amount:** {if({args(2):{separator}}==):No Amount|{args(2):{separator}}}
<a:arrow:775566611892404224> **Winner/s:** {if({args(3):{separator}}==):No No. of Winners|{args(3):{separator}}}
<a:arrow:775566611892404224> **Requirements:** {if({args(4):{separator}}==):No Requirements|{args(4):{separator}}}
<a:arrow:775566611892404224> **Message:** {if({args(5):{separator}}==):No Message|{args(5):{separator}}}}

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

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

Sections: `Time{separator}Amount{separator}Winners{separator}Requirement{separator}Message`
Usage Example: `{prefix}{tagname} 1 hour{separator}1M{separator}2{separator}None{separator}`}

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

{=(success):**Giveaway request sent!**  Kindly wait for a giveaway manager. 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:770555232739655721}
{react:{rct}}

Embed

1 line
{"color": 8239615, "title": "{if({num}==0):{title}}", "footer": {"text": "{server}", "icon_url": "{server(icon)}"}, "description": "{msg{num}}"}
Raw JSON
{
  "id": 408105,
  "created_at": "2020-11-03T07:36:30.000Z",
  "tag_name": "gdonate",
  "nsfw": false,
  "owner_id": "670266479467298838",
  "uses": 2691,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "770506677229322240",
  "sharer": "670266479467298838",
  "content": "{=():}\n{embed(timestamp):now}\n\n{=(prefix):-}\n{=(tagname):gdonate}\n{=(separator):/}\n{=(requiredargs):5}\n\n{=(arglen):{index($&@):{args} $&@}}\n{=(newarglen):{index($&@):{replace({separator},. .):{args}} $&@}}\n{=(sepcount):{m:trunc({newarglen}-{arglen})}}\n\n{=(title):{target(proper)} wants to make a donation!}\n\n{=(num):{any({1}==|{sepcount}<{m:trunc({requiredargs}-1)}):1|0}}\n\n{=(msg0):<a:arrow:775566611892404224> **Time:** {if({args(1):{separator}}==):No Time|{args(1):{separator}}}\n<a:arrow:775566611892404224> **Amount:** {if({args(2):{separator}}==):No Amount|{args(2):{separator}}}\n<a:arrow:775566611892404224> **Winner/s:** {if({args(3):{separator}}==):No No. of Winners|{args(3):{separator}}}\n<a:arrow:775566611892404224> **Requirements:** {if({args(4):{separator}}==):No Requirements|{args(4):{separator}}}\n<a:arrow:775566611892404224> **Message:** {if({args(5):{separator}}==):No Message|{args(5):{separator}}}}\n\n{=(msg1):You did not provide enough information. \n\nYour input should include 4 `{separator}`. To keep a section blank just dont put in any text in that section. \n\nSections: `Time{separator}Amount{separator}Winners{separator}Requirement{separator}Message`\nUsage Example: `{prefix}{tagname} 1 hour{separator}1M{separator}2{separator}None{separator}`}\n\n{{if({num}==0):redirect:773092105639034902}}\n\n{=(success):**Giveaway request sent!**  Kindly wait for a giveaway manager. 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:770555232739655721}\n{react:{rct}}",
  "embed": "{\"color\": 8239615, \"title\": \"{if({num}==0):{title}}\", \"footer\": {\"text\": \"{server}\", \"icon_url\": \"{server(icon)}\"}, \"description\": \"{msg{num}}\"}",
  "last_fetched": "2026-10-20T22:59:50.616Z"
}