donate
Private
Content
62 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):995960329425145886}
{=(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 >[prize]/[time]/[requirements]/[winners]/[claim time]``
Eg:``{prefix}donate >10m / 1h / level5 / 1w / 1h``
**NOTE**:/ AND > ARE REQUIRED. Run the command .donations for more information}
{=(invalidCountFault):Oops! You are missing `{f}` `/` Please reread the format {user(mention)}
use:``{prefix}donate >[prize]/[time]/[requirements]/[winners]/[claim time]``
Eg:``{prefix}donate >10m / 1h / level5 / 1w / 1h``
**NOTE**:/ AND > ARE REQUIRED. Run the command -donations for more information}
{=(COMMENT):Creating embed}
{=(prize):{args(1):/}}
{=(time):{args(2):/}}
{=(requirements):{args(3):/}}
{=(winners):{args(4):/}}
{=(claim time):{args(0):/}}
{=(embedTitle):{user(proper)} wants to sponsor a giveaway!}
{=(embedDesc):**Sponsor**:{user(mention)}
**Prize**:{prize}
**Time**:{time}
**Requirements**:{requirements}
**Winner(s)**: {winners}
**Claim Time**: {claim time}}
{=(embedJson):{ "timestamp":"{strf:%FT%T}.000Z",
"title": "{embedTitle}",
"description": "{embedDesc}",
"color": 0,
"footer": {
"text": "Thanks for donating!"
}
}}
{=(coMMent):Execution/Checks}
{=(output):c:cembed {channel(id)} {embedJson}}
{=(exec):{{{and({1}!=|{charactercount}==4):output}}}}
{exec}
{and({1}!=|{charactercount}!=0):{if({charactercount}==4):|{invalidCountFault}}}
{{and({1}==|{charactercount}==0):error}}
{silent} {override} {delete}
{=(Requirements):}
{require(This can only be ran in <#995960329425145886>):<#995960329425145886>}Raw JSON
{
"id": 1342706,
"created_at": "2022-03-24T17:36:44.000Z",
"tag_name": "donate",
"nsfw": false,
"owner_id": "913547270086066216",
"uses": 1067,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "",
"hidden": false,
"guild_id": "849917260591398932",
"sharer": "913547270086066216",
"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):995960329425145886}\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 >[prize]/[time]/[requirements]/[winners]/[claim time]``\nEg:``{prefix}donate >10m / 1h / level5 / 1w / 1h``\n**NOTE**:/ AND > ARE REQUIRED. Run the command .donations for more information}\n{=(invalidCountFault):Oops! You are missing `{f}` `/` Please reread the format {user(mention)}\nuse:``{prefix}donate >[prize]/[time]/[requirements]/[winners]/[claim time]``\nEg:``{prefix}donate >10m / 1h / level5 / 1w / 1h``\n**NOTE**:/ AND > ARE REQUIRED. Run the command -donations for more information}\n{=(COMMENT):Creating embed}\n\n{=(prize):{args(1):/}}\n{=(time):{args(2):/}}\n{=(requirements):{args(3):/}}\n{=(winners):{args(4):/}}\n{=(claim time):{args(0):/}}\n\n\n{=(embedTitle):{user(proper)} wants to sponsor a giveaway!}\n{=(embedDesc):**Sponsor**:{user(mention)}\n**Prize**:{prize}\n**Time**:{time}\n**Requirements**:{requirements}\n**Winner(s)**: {winners}\n**Claim Time**: {claim time}}\n{=(embedJson):{ \"timestamp\":\"{strf:%FT%T}.000Z\",\n \"title\": \"{embedTitle}\",\n \"description\": \"{embedDesc}\",\n \"color\": 0,\n \"footer\": {\n \"text\": \"Thanks for donating!\"\n }\n}}\n{=(coMMent):Execution/Checks}\n{=(output):c:cembed {channel(id)} {embedJson}}\n\n{=(exec):{{{and({1}!=|{charactercount}==4):output}}}}\n{exec}\n{and({1}!=|{charactercount}!=0):{if({charactercount}==4):|{invalidCountFault}}}\n\n{{and({1}==|{charactercount}==0):error}}\n {silent} {override} {delete}\n\n\n{=(Requirements):}\n{require(This can only be ran in <#995960329425145886>):<#995960329425145886>}",
"embed": "{}",
"last_fetched": "2026-10-20T18:40:45.563Z"
}