events

Privateunrated

Content

36 lines
{=(COMMENT):feel free to change the prefix and tagname to your liking}
{=():}
{=(prefix):?}
{=(tagname):events}
{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):<#853588143009300530>}
{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! {user(mention)}. Please retype the following command below correctly.
`{prefix}{tagname} <host>/<sponsor>/<event>/<prize>/<winner>/<add>/<note>`}

{=(COMMENT): Now we are calling the args to variables (AGAIN DO NOT TOUCH UNLESS YOU KNOW WHAT YOUR DOING)}
{=(host):{args(1):/}}
{=(sponsor):{args(2):/}}
{=(event):{args(3):/}}
{=(prize):{args(4):/}}
{=(winner):{args(5):/}}
{=(add):{args(6):/}}
{=(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 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}==6):true|false}}
{{if({myCheck}==true):c:feed announce eventping Event Time!}}
{{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": 3788494, "author": {"name": "Play Together PH Event", "icon_url": "https://i.imgur.com/Hptfe3g.gif"}, "thumbnail": {"url": "https://i.imgur.com/Hptfe3g.gif"}, "description": "<a:rightarrow:826161013921153105> **Host:** {host}\n<a:rightarrow:826161013921153105> **Sponsor:** {sponsor}\n<a:rightarrow:826161013921153105> **Event:** {event}\n<a:rightarrow:826161013921153105> **Prize:** {prize}\n<a:rightarrow:826161013921153105> **Winner/s:** {winner}\n<a:rightarrow:826161013921153105> **Additional Info:** {add}\n\n<a:rightarrow:826161013921153105> **Note/s:** {note}"}
Raw JSON
{
  "id": 887262,
  "created_at": "2021-06-13T17:53:28.000Z",
  "tag_name": "events",
  "nsfw": false,
  "owner_id": "192871314715836416",
  "uses": 18,
  "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):events}\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):<#853588143009300530>}\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! {user(mention)}. Please retype the following command below correctly.\n`{prefix}{tagname} <host>/<sponsor>/<event>/<prize>/<winner>/<add>/<note>`}\n\n{=(COMMENT): Now we are calling the args to variables (AGAIN DO NOT TOUCH UNLESS YOU KNOW WHAT YOUR DOING)}\n{=(host):{args(1):/}}\n{=(sponsor):{args(2):/}}\n{=(event):{args(3):/}}\n{=(prize):{args(4):/}}\n{=(winner):{args(5):/}}\n{=(add):{args(6):/}}\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 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}==6):true|false}}\n{{if({myCheck}==true):c:feed announce eventping Event Time!}}\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\": 3788494, \"author\": {\"name\": \"Play Together PH Event\", \"icon_url\": \"https://i.imgur.com/Hptfe3g.gif\"}, \"thumbnail\": {\"url\": \"https://i.imgur.com/Hptfe3g.gif\"}, \"description\": \"<a:rightarrow:826161013921153105> **Host:** {host}\\n<a:rightarrow:826161013921153105> **Sponsor:** {sponsor}\\n<a:rightarrow:826161013921153105> **Event:** {event}\\n<a:rightarrow:826161013921153105> **Prize:** {prize}\\n<a:rightarrow:826161013921153105> **Winner/s:** {winner}\\n<a:rightarrow:826161013921153105> **Additional Info:** {add}\\n\\n<a:rightarrow:826161013921153105> **Note/s:** {note}\"}",
  "last_fetched": "2026-10-20T16:46:32.583Z"
}