donate
Privateunrated
Content
53 lines{=():}
{=(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(3-{charactercount})}}
{=(error):No arguements were inputted Please read the format! {user(mention)}
use:``{prefix}donate <message>/<amount>/<time>/<winners>``
Eg:``{prefix}donate Hi this is jeyah/50k each/10m/2w``
**NOTE**:SLASHES AND EACH PART ARE REQUIRED}
{=(invalidCountFault):Oops! You are missing `{f}` `/` Please reread the format {user(mention)}
use:``{prefix}donate <message>/<amount>/<time>/<winners>``
Eg:``{prefix}donate Hi this is jeyah/50k each/10m/2w``
**NOTE**:SLASHES AND EACH PART ARE REQUIRED}
{=(COMMENT):Creating embed}
{=(message):{args(1):/}}
{=(amount):{args(2):/}}
{=(time):{args(3):/}}
{=(winners):{args(0):/}}
{=(embedTitle):{user(proper)} wants to sponsor a giveaway!}
{=(embedDesc):**Sponsor**:{user(mention)}
**Message**: {message}
**Amount**: {amount}
**Time**: {time}
**Winner(s)**: {winners}}
{=(embedJson):{ "timestamp":"{strf:%FT%T}.000Z",
"title": "{embedTitle}",
"description": "{embedDesc}",
"color": 0,
"footer": {
"text": "Tag made by: Jeyah シ#7933"
}
}}
{=(coMMent):Execution/Checks}
{=(output):c:cembed {channel(id)} {embedJson}}
{=(exec):{{{and({1}!=|{charactercount}==3):output}}}}
{exec}
{and({1}!=|{charactercount}!=0):{if({charactercount}==3):|{invalidCountFault}}}
{{and({1}==|{charactercount}==0):error}}
{silent} {override} {delete}Raw JSON
{
"id": 469535,
"created_at": "2020-12-06T15:03:23.000Z",
"tag_name": "donate",
"nsfw": false,
"owner_id": "412597056042172473",
"uses": 10,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "689396675885793330",
"sharer": "412597056042172473",
"content": "{=():}\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(3-{charactercount})}}\n\n{=(error):No arguements were inputted Please read the format! {user(mention)}\nuse:``{prefix}donate <message>/<amount>/<time>/<winners>``\nEg:``{prefix}donate Hi this is jeyah/50k each/10m/2w``\n**NOTE**:SLASHES AND EACH PART ARE REQUIRED}\n\n{=(invalidCountFault):Oops! You are missing `{f}` `/` Please reread the format {user(mention)}\nuse:``{prefix}donate <message>/<amount>/<time>/<winners>``\nEg:``{prefix}donate Hi this is jeyah/50k each/10m/2w``\n**NOTE**:SLASHES AND EACH PART ARE REQUIRED}\n\n{=(COMMENT):Creating embed}\n\n{=(message):{args(1):/}}\n{=(amount):{args(2):/}}\n{=(time):{args(3):/}}\n{=(winners):{args(0):/}}\n\n{=(embedTitle):{user(proper)} wants to sponsor a giveaway!}\n{=(embedDesc):**Sponsor**:{user(mention)}\n**Message**: {message}\n**Amount**: {amount}\n**Time**: {time}\n**Winner(s)**: {winners}}\n{=(embedJson):{ \"timestamp\":\"{strf:%FT%T}.000Z\",\n \"title\": \"{embedTitle}\",\n \"description\": \"{embedDesc}\",\n \"color\": 0,\n \"footer\": {\n \"text\": \"Tag made by: Jeyah シ#7933\"\n }\n}}\n{=(coMMent):Execution/Checks}\n{=(output):c:cembed {channel(id)} {embedJson}}\n\n{=(exec):{{{and({1}!=|{charactercount}==3):output}}}}\n{exec}\n{and({1}!=|{charactercount}!=0):{if({charactercount}==3):|{invalidCountFault}}}\n\n{{and({1}==|{charactercount}==0):error}}\n {silent} {override} {delete}",
"embed": "{}",
"last_fetched": "2026-10-20T23:24:47.572Z"
}