donate

PrivateRestrictedunrated

Content

51 lines
{=():}
{=(COmmENT):REQUIRED TO CHANGE THESE
NOTE: I don't recommend changing anything else below the next comment unless you are experienced in TagScript}
{=(prefix):!}
{=(chan):902961693376778312}

{=(comment):Counting args}

{=(charactertocount):/}{=(comment):can't be a comma, parentheses or curly brackets}
{=(arglength):{index($%&):{args} $%&}}
{=(newarglength):{index($%&):{replace({charactertocount},. .):{args}} $%&}}
{=(charactercount):{m:trunc({newarglength}-{arglength})}}

{=(cOmment):Creating Errors/Fault}

{=(f):{m:trunc(4-{charactercount})}}

{=(error):No arguements were inputted Please read the format! {user(mention)}
use:``{prefix}donate <message>/<requirment>/<amount>/<time>/<winners>``
Eg:``{prefix}donate 5pec/level5/5/10m/hello``
**NOTE**:SLASHES AND EACH PART ARE REQUIRED}
{=(invalidCountFault):Oops! You are missing `{f}` `/` Please reread the format {user(mention)}
use:``{prefix}donate <message>/<requirement>/<amount>/<time>/<winners>``
Eg:``{prefix}donate 5pec/level5/5/10m/hello``
**NOTE**:SLASHES AND EACH PART ARE REQUIRED}
{=(COMMENT):Creating embed}

{=(message):{args(5):/}}
{=(amount):{args(1):/}}
{=(requirement):{args(2):/}}
{=(time):{args(4):/}}
{=(winners):{args(3):/}}

{=(embedTitle):<a:PARTYPOPPER:917717833100705843>Someone wants to sponsor a giveaway!<a:PARTYPOPPER:917717833100705843>}
{=(embedDesc):<a:REDFIRE:917999207208583209>**Sponsor**:{user(mention)}
<a:REDFIRE:917999207208583209> **Prize** : {amount}
<a:REDFIRE:917999207208583209> **Time** : {time}
<a:REDFIRE:917999207208583209> **Requirement** : {requirement}
<a:REDFIRE:917999207208583209> **Winner(s)** : {winners}

<a:REDFIRE:917999207208583209> **Message** : {message}}

{and({1}!=|{charactercount}!=0):{if({charactercount}==4):|{invalidCountFault}}}

{{and({1}==|{charactercount}==0):error}}
    {silent} {override} {delete}

{=(Requirements):}
{require(This can only be ran in <#{chan}>):{chan}}

{c:feed announce donation {user(mention)} wants to donate for a giveaway!}

Embed

1 line
{"color": 12390624, "title": "Someone wants to Donate for a Giveaway!", "description": "{embedDesc}"}
Raw JSON
{
  "id": 1151319,
  "created_at": "2021-11-14T17:45:42.000Z",
  "tag_name": "donate",
  "nsfw": false,
  "owner_id": "814742225178066955",
  "uses": 71,
  "description": null,
  "restricted": true,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "902950998597857340",
  "sharer": "814742225178066955",
  "content": "{=():}\n{=(COmmENT):REQUIRED TO CHANGE THESE\nNOTE: I don't recommend changing anything else below the next comment unless you are experienced in TagScript}\n{=(prefix):!}\n{=(chan):902961693376778312}\n\n{=(comment):Counting args}\n\n{=(charactertocount):/}{=(comment):can't be a comma, parentheses or curly brackets}\n{=(arglength):{index($%&):{args} $%&}}\n{=(newarglength):{index($%&):{replace({charactertocount},. .):{args}} $%&}}\n{=(charactercount):{m:trunc({newarglength}-{arglength})}}\n\n{=(cOmment):Creating Errors/Fault}\n\n{=(f):{m:trunc(4-{charactercount})}}\n\n{=(error):No arguements were inputted Please read the format! {user(mention)}\nuse:``{prefix}donate <message>/<requirment>/<amount>/<time>/<winners>``\nEg:``{prefix}donate 5pec/level5/5/10m/hello``\n**NOTE**:SLASHES AND EACH PART ARE REQUIRED}\n{=(invalidCountFault):Oops! You are missing `{f}` `/` Please reread the format {user(mention)}\nuse:``{prefix}donate <message>/<requirement>/<amount>/<time>/<winners>``\nEg:``{prefix}donate 5pec/level5/5/10m/hello``\n**NOTE**:SLASHES AND EACH PART ARE REQUIRED}\n{=(COMMENT):Creating embed}\n\n{=(message):{args(5):/}}\n{=(amount):{args(1):/}}\n{=(requirement):{args(2):/}}\n{=(time):{args(4):/}}\n{=(winners):{args(3):/}}\n\n{=(embedTitle):<a:PARTYPOPPER:917717833100705843>Someone wants to sponsor a giveaway!<a:PARTYPOPPER:917717833100705843>}\n{=(embedDesc):<a:REDFIRE:917999207208583209>**Sponsor**:{user(mention)}\n<a:REDFIRE:917999207208583209> **Prize** : {amount}\n<a:REDFIRE:917999207208583209> **Time** : {time}\n<a:REDFIRE:917999207208583209> **Requirement** : {requirement}\n<a:REDFIRE:917999207208583209> **Winner(s)** : {winners}\n\n<a:REDFIRE:917999207208583209> **Message** : {message}}\n\n{and({1}!=|{charactercount}!=0):{if({charactercount}==4):|{invalidCountFault}}}\n\n{{and({1}==|{charactercount}==0):error}}\n    {silent} {override} {delete}\n\n{=(Requirements):}\n{require(This can only be ran in <#{chan}>):{chan}}\n\n{c:feed announce donation {user(mention)} wants to donate for a giveaway!}",
  "embed": "{\"color\": 12390624, \"title\": \"Someone wants to Donate for a Giveaway!\", \"description\": \"{embedDesc}\"}",
  "last_fetched": "2026-10-20T18:00:39.594Z"
}