pdonate
Privateunrated
Content
34 lines{=(COMMENT):feel free to change the prefix and tagname to your liking}
{=():}
{=(prefix):?}
{=(tagname):pdonate}
{del} {override}
{=(COMMENT):under this is the requirement which will limit the tag usage to specific channels and users. Replace MANAGER_ROLE_ID_HERE with your event manager’s role id and replace EVENT_CHANNEL_ID_HERE With your event channel’s id (if you don’t know how to get id of role and channel run “!id user” and “!id channel” in playground in cbh)}
{=(eventManager):<@&853588163607396362>}
{=(eventChannel):<#853700704048775218>}
{require(You need to be an event manager and in the events channel to run this command):{eventManager},{eventChannel}}
{=(COMMENT):Under this is the code which will assign some variables which will be used later (DO NOT TOUCH THIS PART UNLESS YOU KNOW HOW TAGSCRIPT WORKS)}
{=(charactertocount):/}
{=(arglength):{index(ab):{args} ab}}
{=(newarglength):{index(ab):{replace({charactertocount},. .):{args}} ab}}
{=(charactercount):{m:trunc({newarglength}-{arglength})}}
{=(COMMENT):Below this is the error message. Feel free to edit it to your liking}
{=(error):Yay {user(mention)}!. To donate just type the following command below.
`{prefix}{tagname} <event>/<prize>/<winner>/<note>`}
{=(COMMENT): Now we are calling the args to variables (AGAIN DO NOT TOUCH UNLESS YOU KNOW WHAT YOUR DOING)}
{=(event):{args(1):/}}
{=(prize):{args(2):/}}
{=(winner):{args(3):/}}
{=(note):{args(0):/}}
{=(COMMENT):Now this is the part where the check which I talked about earlier will get tested to see if it’s true or false and proceed accordingly. And you can change the message past the “c:feed announce gmaster MESSAGE_HERE” but if you don’t know how it works then I would advise you not to do anything without asking for help}
{=(myCheck):{if({charactercount}==3):true|false}}
{{if({myCheck}==true):c:feed announce gmaster {user(mention)} wants to make a donation!}}
{{if({myCheck}==false):blacklist({error}):{server(id)}}}
{=(COMMENT):if you need help or assistance then feel free to ask in #tags-and-triggers}Embed
1 line{"color": 12423, "title": "Thank you, {user(proper)}!", "thumbnail": {"url": "https://i.imgur.com/UOZimjI.png"}, "description": "<a:rightarrow:826161013921153105> **Event:** {event}\n<a:rightarrow:826161013921153105> **Amount:** {prize}\n<a:rightarrow:826161013921153105> **Winner/s:** {winner}\n\n<a:rightarrow:826161013921153105> **Note/s:** {note}\n\nKindly wait for <@!192871314715836416> to notify you."}Raw JSON
{
"id": 889557,
"created_at": "2021-06-14T17:33:24.000Z",
"tag_name": "pdonate",
"nsfw": false,
"owner_id": "192871314715836416",
"uses": 7,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "853587910846185492",
"sharer": "192871314715836416",
"content": "{=(COMMENT):feel free to change the prefix and tagname to your liking}\n{=():}\n{=(prefix):?}\n{=(tagname):pdonate}\n{del} {override}\n\n{=(COMMENT):under this is the requirement which will limit the tag usage to specific channels and users. Replace MANAGER_ROLE_ID_HERE with your event manager’s role id and replace EVENT_CHANNEL_ID_HERE With your event channel’s id (if you don’t know how to get id of role and channel run “!id user” and “!id channel” in playground in cbh)}\n{=(eventManager):<@&853588163607396362>}\n{=(eventChannel):<#853700704048775218>}\n{require(You need to be an event manager and in the events channel to run this command):{eventManager},{eventChannel}}\n\n{=(COMMENT):Under this is the code which will assign some variables which will be used later (DO NOT TOUCH THIS PART UNLESS YOU KNOW HOW TAGSCRIPT WORKS)}\n{=(charactertocount):/}\n{=(arglength):{index(ab):{args} ab}}\n{=(newarglength):{index(ab):{replace({charactertocount},. .):{args}} ab}}\n{=(charactercount):{m:trunc({newarglength}-{arglength})}}\n\n{=(COMMENT):Below this is the error message. Feel free to edit it to your liking}\n{=(error):Yay {user(mention)}!. To donate just type the following command below.\n`{prefix}{tagname} <event>/<prize>/<winner>/<note>`}\n\n{=(COMMENT): Now we are calling the args to variables (AGAIN DO NOT TOUCH UNLESS YOU KNOW WHAT YOUR DOING)}\n{=(event):{args(1):/}}\n{=(prize):{args(2):/}}\n{=(winner):{args(3):/}}\n\n{=(note):{args(0):/}}\n\n{=(COMMENT):Now this is the part where the check which I talked about earlier will get tested to see if it’s true or false and proceed accordingly. And you can change the message past the “c:feed announce gmaster MESSAGE_HERE” but if you don’t know how it works then I would advise you not to do anything without asking for help}\n{=(myCheck):{if({charactercount}==3):true|false}}\n{{if({myCheck}==true):c:feed announce gmaster {user(mention)} wants to make a donation!}}\n{{if({myCheck}==false):blacklist({error}):{server(id)}}}\n \n{=(COMMENT):if you need help or assistance then feel free to ask in #tags-and-triggers}",
"embed": "{\"color\": 12423, \"title\": \"Thank you, {user(proper)}!\", \"thumbnail\": {\"url\": \"https://i.imgur.com/UOZimjI.png\"}, \"description\": \"<a:rightarrow:826161013921153105> **Event:** {event}\\n<a:rightarrow:826161013921153105> **Amount:** {prize}\\n<a:rightarrow:826161013921153105> **Winner/s:** {winner}\\n\\n<a:rightarrow:826161013921153105> **Note/s:** {note}\\n\\nKindly wait for <@!192871314715836416> to notify you.\"}",
"last_fetched": "2026-10-21T01:49:40.822Z"
}