events

Privateunrated

Content

33 lines
{=(COMMENT):feel free to change the prefix and tagname to your liking}
{=():}
{=(prefix):-}
{=(tagname):events}
{del} {override}
<@&829100368285794306>

{=(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):839025660856107039}
{=(eventChannel):849932958717837312}
{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):Oops! You did a mistake. Please re-read the format {user(mention)} . It’s {prefix}{tagname} <sponsor>|<event>|<prize>|<message>
NOTE: SLASHES AND EACH PART ARE REQUIRED. SPECIFY NONE IF NO REQ}

{=(COMMENT): Now we are calling the args to variables (AGAIN DO NOT TOUCH UNLESS YOU KNOW WHAT YOUR DOING)}
{=(sponsor):{args(1):|}}
{=(event):{args(2):|}}
{=(amount):{args(3):|}}
{=(msg):{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 eventping 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}==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": 16758789, "title": "__**EVENT TIME**__", "thumbnail": {"url": "https://media1.tenor.com/images/057ad82f7e97f055d42318e1c814b062/tenor.gif"}, "description": "**Sponsor: {sponsor}**\n\n🧮 **Event: {event}**\n🎉 **Prize: {amount}**\n✉️ **Message: {msg}**"}
Raw JSON
{
  "id": 865843,
  "created_at": "2021-06-03T08:53:14.000Z",
  "tag_name": "events",
  "nsfw": false,
  "owner_id": "777535078209028116",
  "uses": 16,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "829100368024698922",
  "sharer": "777535078209028116",
  "content": "{=(COMMENT):feel free to change the prefix and tagname to your liking}\n{=():}\n{=(prefix):-}\n{=(tagname):events}\n{del} {override}\n<@&829100368285794306>\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):839025660856107039}\n{=(eventChannel):849932958717837312}\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):Oops! You did a mistake. Please re-read the format {user(mention)} . It’s {prefix}{tagname} <sponsor>|<event>|<prize>|<message>\nNOTE: SLASHES AND EACH PART ARE REQUIRED. SPECIFY NONE IF NO REQ}\n\n{=(COMMENT): Now we are calling the args to variables (AGAIN DO NOT TOUCH UNLESS YOU KNOW WHAT YOUR DOING)}\n{=(sponsor):{args(1):|}}\n{=(event):{args(2):|}}\n{=(amount):{args(3):|}}\n{=(msg):{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 eventping 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}==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\": 16758789, \"title\": \"__**EVENT TIME**__\", \"thumbnail\": {\"url\": \"https://media1.tenor.com/images/057ad82f7e97f055d42318e1c814b062/tenor.gif\"}, \"description\": \"**Sponsor: {sponsor}**\\n\\n🧮 **Event: {event}**\\n🎉 **Prize: {amount}**\\n✉️ **Message: {msg}**\"}",
  "last_fetched": "2026-10-20T16:39:40.172Z"
}