donate

To make use of this tag, create a feed in your server which is created in giveaway donation channel, that pings giveaway manager role (type `-feed create <ANY_NAME> @giveaway_manager` in your donation channel). Replace the "_" that denotes an empty space with your newly created feed in {GawFeed} variable. Replace the "_" that denotes an empty space with your bot prefix in {Prefix} variable. Replace the "_" that denotes an empty space with your donation channel's ID. Don't know how to get the channel ID, I suggest you look it up on google.

Privateunrated

Content

61 lines
{=():}
{=(TagCredits): This tag is created by sync#9074 which is inspired by the giveaway tag made by wish. This tag is also heavily modified to produce embed responses instead of text responses.}

{=(GawFeed):c:feed announce _ {user(name)} is feeling generous!}
{=(Prefix):_}
{=(DonoChannelID):_}


{=(COMMENT):Code under this comment will calculate the number of arguments passed by the user seperated by the Split Character. Do not make any changes unless you are familiar with carl-bot tagscript.}

{=(SplitCharacter):/}
{=(ArgLength):{index(&458$):{args} &458$}}
{=(NewArgLength):{index(&458$):{replace({SplitCharacter},. .):{args}} &458$}}
{=(TotalArgs):{m:trunc({NewArgLength}-{ArgLength})}}
{=(NumArgs):{m:trunc(4-{TotalArgs})}}
{=(NumArgs2):{if({NumArgs} < 0):{m:trunc(-1*{NumArgs})}}}


{=(COMMENT):Code under this comment is the codeblock to be executed in the execution block when number of arguments inputted are incorrect[either missing or exceeding].}

{=(MATitle):{if({NumArgs} < 0):Exceeded Required Arguments!|Missing Required Arguments!}}
{=(MAColor):#b4aa54}
{=(MADesc1):{if({NumArgs} < 0):You have exceeded the limit of argument(s) by {NumArgs2} in your **Donation Request**|You are missing {NumArgs} argument(s) in your **Donation Request**}}
{=(MADesc):```yaml
Example 1: {Prefix}donate 30m/1w/Amari 5/6mil/sync is sekc
Example 2: {Prefix}donate 1h/2w/None/1m/sync is so hot
```
{MADesc1}. Please refer to the examples provided above.}
{=(MAFooter):Usage: {Prefix}donate <time>/<winner(s)>/<requirement(s)>/<prize>/<message>}


{=(COMMENT):Code under this comment will be executed in the execution block when number of arguments inputted are correct.}

{=(CATitle):{user(proper)} wants to make a donation!}
{=(CAColor):#5474b4}
{=(CADesc):
**Sponsor:** {user(mention)}
**Time:** {args(1):/}
**Winners:** {args(2):/}
**Requirements:** {args(3):/}
**Prize:** {args(4):/}
**Message:** {args(5):/}}
{=(CAFooter):Thanks for your lovely donation!}


{=(COMMENT):Code under this comment is the execution code. It works only when certain conditions are met or it displays an error.}

{=(FeedExec):{and({NumArgs} == 0|{args(1):/}!=):{GawFeed}|}}
{{FeedExec}}
{=(EMTitle):{and({NumArgs} == 0|{args(1):/}!=):{CATitle}|{MATitle}}}
{=(EMColor):{and({NumArgs} == 0|{args(1):/}!=):{CAColor}|{MAColor}}}
{=(EMDesc):{and({NumArgs} == 0|{args(1):/}!=):{CADesc}|{MADesc}}}
{=(EMFooter):{and({NumArgs} == 0|{args(1):/}!=):{CAFooter}|{MAFooter}}}


{=(COMMENT):Code under this comment executes normally as it would without any complications.}

{require():{DonoChannelID}}
{embed(color):{EMColor}}
{override}
{del}

Embed

1 line
{"color": 5198940, "author": {"name": "{EMTitle}", "icon_url": "{user(icon)}"}, "footer": {"text": "{EMFooter} | created by sync#9074"}, "description": "{EMDesc}"}
Raw JSON
{
  "id": 1051062,
  "created_at": "2021-09-08T16:43:32.000Z",
  "tag_name": "donate",
  "nsfw": false,
  "owner_id": "688917796943560734",
  "uses": 78,
  "description": "To make use of this tag, create a feed in your server which is created in giveaway donation channel, that pings giveaway manager role (type `-feed create <ANY_NAME> @giveaway_manager` in your donation channel). \n\nReplace the \"_\" that denotes an empty space with your newly created feed in {GawFeed} variable.\n\nReplace the \"_\" that denotes an empty space with your bot prefix in {Prefix} variable.\n\nReplace the \"_\" that denotes an empty space with your donation channel's ID. Don't know how to get the channel ID, I suggest you look it up on google.",
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "877822567245840425",
  "sharer": "688917796943560734",
  "content": "{=():}\n{=(TagCredits): This tag is created by sync#9074 which is inspired by the giveaway tag made by wish. This tag is also heavily modified to produce embed responses instead of text responses.}\n\n{=(GawFeed):c:feed announce _ {user(name)} is feeling generous!}\n{=(Prefix):_}\n{=(DonoChannelID):_}\n\n\n{=(COMMENT):Code under this comment will calculate the number of arguments passed by the user seperated by the Split Character. Do not make any changes unless you are familiar with carl-bot tagscript.}\n\n{=(SplitCharacter):/}\n{=(ArgLength):{index(&458$):{args} &458$}}\n{=(NewArgLength):{index(&458$):{replace({SplitCharacter},. .):{args}} &458$}}\n{=(TotalArgs):{m:trunc({NewArgLength}-{ArgLength})}}\n{=(NumArgs):{m:trunc(4-{TotalArgs})}}\n{=(NumArgs2):{if({NumArgs} < 0):{m:trunc(-1*{NumArgs})}}}\n\n\n{=(COMMENT):Code under this comment is the codeblock to be executed in the execution block when number of arguments inputted are incorrect[either missing or exceeding].}\n\n{=(MATitle):{if({NumArgs} < 0):Exceeded Required Arguments!|Missing Required Arguments!}}\n{=(MAColor):#b4aa54}\n{=(MADesc1):{if({NumArgs} < 0):You have exceeded the limit of argument(s) by {NumArgs2} in your **Donation Request**|You are missing {NumArgs} argument(s) in your **Donation Request**}}\n{=(MADesc):```yaml\nExample 1: {Prefix}donate 30m/1w/Amari 5/6mil/sync is sekc\nExample 2: {Prefix}donate 1h/2w/None/1m/sync is so hot\n```\n{MADesc1}. Please refer to the examples provided above.}\n{=(MAFooter):Usage: {Prefix}donate <time>/<winner(s)>/<requirement(s)>/<prize>/<message>}\n\n\n{=(COMMENT):Code under this comment will be executed in the execution block when number of arguments inputted are correct.}\n\n{=(CATitle):{user(proper)} wants to make a donation!}\n{=(CAColor):#5474b4}\n{=(CADesc):\n**Sponsor:** {user(mention)}\n**Time:** {args(1):/}\n**Winners:** {args(2):/}\n**Requirements:** {args(3):/}\n**Prize:** {args(4):/}\n**Message:** {args(5):/}}\n{=(CAFooter):Thanks for your lovely donation!}\n\n\n{=(COMMENT):Code under this comment is the execution code. It works only when certain conditions are met or it displays an error.}\n\n{=(FeedExec):{and({NumArgs} == 0|{args(1):/}!=):{GawFeed}|}}\n{{FeedExec}}\n{=(EMTitle):{and({NumArgs} == 0|{args(1):/}!=):{CATitle}|{MATitle}}}\n{=(EMColor):{and({NumArgs} == 0|{args(1):/}!=):{CAColor}|{MAColor}}}\n{=(EMDesc):{and({NumArgs} == 0|{args(1):/}!=):{CADesc}|{MADesc}}}\n{=(EMFooter):{and({NumArgs} == 0|{args(1):/}!=):{CAFooter}|{MAFooter}}}\n\n\n{=(COMMENT):Code under this comment executes normally as it would without any complications.}\n\n{require():{DonoChannelID}}\n{embed(color):{EMColor}}\n{override}\n{del}",
  "embed": "{\"color\": 5198940, \"author\": {\"name\": \"{EMTitle}\", \"icon_url\": \"{user(icon)}\"}, \"footer\": {\"text\": \"{EMFooter} | created by sync#9074\"}, \"description\": \"{EMDesc}\"}",
  "last_fetched": "2026-10-20T17:34:31.214Z"
}