host

Privateunrated

Content

193 lines
{=():}
{=(carl.prefix):!}
{=(option.prefix):/}
{=(option.connector):=}

{=(output.channel.success):757048900191256587}
{=(output.channel.error):{channel(id)}}
{=(output.example):{carl.prefix}host {option.prefix}lobby{option.connector}electrical {option.prefix}region{option.connector}North America {option.prefix}code{option.connector}ahfetg {option.prefix}map{option.connector}the skeld {option.prefix}desc{option.connector}Mic required}

{=(comment):Random crewmate avatar}
{=(AVATAR.ids):758624940068044810 758624853561049118 758624862142595072 758624872774500382 758624885328052285 758624894740725781 758624909139378198 758624912453402666 758624933479186483 758624935509491722 758624938054778900}
{=(AVATAR.colours):16774400 1907997 6499876 1660185 4316481 4313565 16748310 16723678 8656568 16720675 14540253}
{=(AVATAR.rand):{range:1-11}}
{=(AVATAR.id):{AVATAR.ids({AVATAR.rand})}}
{=(AVATAR.colour):{AVATAR.colours({AVATAR.rand})}}

{=(PINGS.ids):759006086727991296 759006087394754581 759006088493793282 759006089487712266 759006091718950922 759006093153140776 759006095183839272 759006097137991690 759006099646054401 759006102493986849 759006105069813781 759006107796111360}

{=(LOBBIES):ELECTRICAL MEDBAY ADMIN}
{=(LOBBY_INVITES):4tQeY3E~c73PQWp~vuyjQFt}

{=(LABELS):LOBBY CODE REGION IMPOSTORS MAP DESC}
{=(REQUIRED):LOBBY CODE REGION}
{=(OPTIONAL):IMPOSTORS MAP DESC}
{=(USAGES):{join( or ):{LOBBIES}}~Six-letter Room Code~Server Region~Number of Impostors~Map Name~Description of Your Game Such As Special Rules}

{=(comment):Parse arguments}
{=(VALUES):}
{=(args.upper):{upper:{args}}}
{=(args.amendConnectorsWithSpace):{replace({option.connector},{option.connector} ):{args.upper}}}
{=(NUM):1}
	{=(label):{LABELS({NUM})}}
	{=(label.index):{index({option.prefix}{label}{option.connector}):{args.amendConnectorsWithSpace}}}
	{=(label.indexPlusOne):{m:trunc({label.index}+1)}}
	{=(args.startAtLabel):{args.amendConnectorsWithSpace({label.indexPlusOne}+)}}
	{=(args.delimitConnectors):{replace({option.connector},{option.connector}~):{args.startAtLabel}}}
	{=(label.unformattedValue):{list(1):{args.delimitConnectors}}}
	{=(label.delimitConnectors):{replace({option.prefix},~):{label.unformattedValue}}}
	{=(label.value):{list(0):{label.delimitConnectors}}}
	{=(VALUES):{VALUES}~{if({label.index}!=-1):{label.value}|}}
{=(NUM):2}
	{=(label):{LABELS({NUM})}}
	{=(label.index):{index({option.prefix}{label}{option.connector}):{args.amendConnectorsWithSpace}}}
	{=(label.indexPlusOne):{m:trunc({label.index}+1)}}
	{=(args.startAtLabel):{args.amendConnectorsWithSpace({label.indexPlusOne}+)}}
	{=(args.delimitConnectors):{replace({option.connector},{option.connector}~):{args.startAtLabel}}}
	{=(label.unformattedValue):{list(1):{args.delimitConnectors}}}
	{=(label.delimitConnectors):{replace({option.prefix},~):{label.unformattedValue}}}
	{=(label.value):{list(0):{label.delimitConnectors}}}
	{=(VALUES):{VALUES}~{if({label.index}!=-1):{label.value}|}}
{=(NUM):3}
	{=(label):{LABELS({NUM})}}
	{=(label.index):{index({option.prefix}{label}{option.connector}):{args.amendConnectorsWithSpace}}}
	{=(label.indexPlusOne):{m:trunc({label.index}+1)}}
	{=(args.startAtLabel):{args.amendConnectorsWithSpace({label.indexPlusOne}+)}}
	{=(args.delimitConnectors):{replace({option.connector},{option.connector}~):{args.startAtLabel}}}
	{=(label.unformattedValue):{list(1):{args.delimitConnectors}}}
	{=(label.delimitConnectors):{replace({option.prefix},~):{label.unformattedValue}}}
	{=(label.value):{list(0):{label.delimitConnectors}}}
	{=(VALUES):{VALUES}~{if({label.index}!=-1):{label.value}|}}
{=(NUM):4}
	{=(label):{LABELS({NUM})}}
	{=(label.index):{index({option.prefix}{label}{option.connector}):{args.amendConnectorsWithSpace}}}
	{=(label.indexPlusOne):{m:trunc({label.index}+1)}}
	{=(args.startAtLabel):{args.amendConnectorsWithSpace({label.indexPlusOne}+)}}
	{=(args.delimitConnectors):{replace({option.connector},{option.connector}~):{args.startAtLabel}}}
	{=(label.unformattedValue):{list(1):{args.delimitConnectors}}}
	{=(label.delimitConnectors):{replace({option.prefix},~):{label.unformattedValue}}}
	{=(label.value):{list(0):{label.delimitConnectors}}}
	{=(VALUES):{VALUES}~{if({label.index}!=-1):{label.value}|}}
{=(NUM):5}
	{=(label):{LABELS({NUM})}}
	{=(label.index):{index({option.prefix}{label}{option.connector}):{args.amendConnectorsWithSpace}}}
	{=(label.indexPlusOne):{m:trunc({label.index}+1)}}
	{=(args.startAtLabel):{args.amendConnectorsWithSpace({label.indexPlusOne}+)}}
	{=(args.delimitConnectors):{replace({option.connector},{option.connector}~):{args.startAtLabel}}}
	{=(label.unformattedValue):{list(1):{args.delimitConnectors}}}
	{=(label.delimitConnectors):{replace({option.prefix},~):{label.unformattedValue}}}
	{=(label.value):{list(0):{label.delimitConnectors}}}
	{=(VALUES):{VALUES}~{if({label.index}!=-1):{label.value}|}}
{=(NUM):6}
	{=(label):{LABELS({NUM})}}
	{=(label.index):{index({option.prefix}{label}{option.connector}):{args.amendConnectorsWithSpace}}}
	{=(label.indexPlusOne):{m:trunc({label.index}+1)}}
	{=(args.startAtLabel):{args.amendConnectorsWithSpace({label.indexPlusOne}+)}}
	{=(args.delimitConnectors):{replace({option.connector},{option.connector}~):{args.startAtLabel}}}
	{=(label.unformattedValue):{list(1):{args.delimitConnectors}}}
	{=(label.delimitConnectors):{replace({option.prefix},~):{label.unformattedValue}}}
	{=(label.value):{list(0):{label.delimitConnectors}}}
	{=(VALUES):{VALUES}~{if({label.index}!=-1):{label.value}|}}

{=(VALUES.lobby):{replace( ,):{list(1):{VALUES}}}}
{=(VALUES.code):{list(2):{VALUES}}}
{=(VALUES.region):{list(3):{VALUES}}}
{=(VALUES.impostors):{list(4):{VALUES}}}
{=(VALUES.map):{list(5):{VALUES}}}
{=(VALUES.desc):{list(6):{VALUES}}}

{=(VALUES.lobby.invite):{list({index({VALUES.lobby}):{LOBBIES}}):{LOBBY_INVITES}}}

{=(condition.required.lobby):{and({contains({VALUES.lobby}):{LOBBIES}}==true | {VALUES.lobby}!=):true|false}}
{=(condition.required.code):{if({VALUES.code}!=):true|false}}
{=(condition.required.region):{if({VALUES.region}!=):true|false}}
{=(condition.optional.impostors):{if({VALUES.impostors}!=):true|false}}
{=(condition.optional.map):{if({VALUES.map}!=):true|false}}
{=(condition.optional.desc):{if({VALUES.desc}!=):true|false}}

{=(output.success.field.join.value):<a:CrewmateDance:757490857107652678>**[Join waiting room](https://discord.gg/{VALUES.lobby.invite})**<a:CrewmateDance:757490857107652678>\nLobby: {VALUES.lobby}\nCode: {VALUES.code}\nRegion: {VALUES.region}}
{=(output.success.field.info.value):}
{{if({condition.optional.impostors}==true):=(output.success.field.info.value):{output.success.field.info.value}Impostors: {VALUES.impostors}\n}}
{{if({condition.optional.map}==true):=(output.success.field.info.value):{output.success.field.info.value}Map: {VALUES.map}\n}}
{{if({condition.optional.desc}==true):=(output.success.field.info.value):{output.success.field.info.value}Other information: {VALUES.desc}\n}}

{{if({output.success.field.info.value}==):=(output.success.field.info.value):No other info to display! <:KnifeRed:756615534472200304>}}

{=(output.success):{
      "title": "<:EmergencyMeeting:758624840046346263> New Hosted Game",
      "color": {AVATAR.colour},
      "fields": [
        {
          "name": "Play Together!",
          "value": "{output.success.field.join.value}",
          "inline": true
        },
        {
          "name": "Info",
          "value": "{output.success.field.info.value}",
          "inline": true
        }
      ],
      "author": {
        "name": "{user(name)}",
        "icon_url": "{user(avatar)}"
      },
      "footer": {
        "text": "Among Us",
        "icon_url": "https://cdn.discordapp.com/emojis/{AVATAR.id}.png?v=1"
      },
      "timestamp": "{strf:%FT%T}.000Z"
}}
{=(output.error):{
      "title": "Error",
      "description": "**Possible reasons for this error: you did not include all required labels, you spelt the lobby name incorrectly, you did not add a space before each label, you placed a comma somewhere.** Please see usage notes below.\n\nUsage: `{carl.prefix}host {option.prefix}LABEL{option.connector}<Label Value - May Contain Spaces>`\n\nLabels can be in any order, and they are not case-sensitive. Do not include the angle brackets (< and >).\n\nCorrect usage (required labels): `{carl.prefix}host {option.prefix}{REQUIRED(1)}{option.connector}<{list(0):{USAGES}}> {option.prefix}{REQUIRED(2)}{option.connector}<{list(1):{USAGES}}> {option.prefix}{REQUIRED(3)}{option.connector}<{list(2):{USAGES}}>`\n\nYou may add additional optional labels: `{option.prefix}{OPTIONAL(1)}{option.connector}<{list(3):{USAGES}}> {option.prefix}{OPTIONAL(2)}{option.connector}<{list(4):{USAGES}}> {option.prefix}{OPTIONAL(3)}{option.connector}<{list(5):{USAGES}}>`\n\nExample: `{output.example}`",
      "color": 16711680
}}

{=(STATUS):}
{=(STATUS.output.success):c:cembed {output.channel.success} {output.success}}
{=(STATUS.reaction.success):reactu: ✅}
{=(STATUS.output.error):c:cembed {output.channel.error} {output.error}}
{=(STATUS.reaction.error):reactu: ❌}

{{and({condition.required.lobby}==true | {condition.required.code}==true | {condition.required.region}==true | {in(,):{args}}==false):=(STATUS):success|=(STATUS):error}}
{{if({STATUS}!=):redirect:{output.channel.{STATUS}}}}

{=(comment):Determine if it is the appropriate time to ping a region role}
{=(HOUR):{strf:%-H}}

{=(PINGS.eu.morning.test):{and(4 <= {HOUR} | {HOUR} <= 10):true|false}}
{=(PINGS.eu.afternoon.test):{and(10 <= {HOUR} | {HOUR} <= 16):true|false}}
{=(PINGS.eu.evening.test):{and(16 <= {HOUR} | {HOUR} <= 20):true|false}}
{=(PINGS.eu.night.test):{or(20 <= {HOUR} | {HOUR} <= 4):true|false}}

{=(PINGS.na.morning.test):{and(11 <= {HOUR} | {HOUR} <= 17):true|false}}
{=(PINGS.na.afternoon.test):{and(17 <= {HOUR} | {HOUR} <= 23):true|false}}
{=(PINGS.na.evening.test):{or(23 <= {HOUR} | {HOUR} <= 5):true|false}}
{=(PINGS.na.night.test):{and(5 <= {HOUR} | {HOUR} <= 11):true|false}}

{=(PINGS.au.morning.test):{or(20 <= {HOUR} | {HOUR} <= 2):true|false}}
{=(PINGS.au.afternoon.test):{and(2 <= {HOUR} | {HOUR} <= 8):true|false}}
{=(PINGS.au.evening.test):{and(8 <= {HOUR} | {HOUR} <= 14):true|false}}
{=(PINGS.au.night.test):{and(14 <= {HOUR} | {HOUR} <= 20):true|false}}

{=(PINGS.tests):{PINGS.eu.morning.test} {PINGS.eu.afternoon.test} {PINGS.eu.evening.test} {PINGS.eu.night.test} {PINGS.na.morning.test} {PINGS.na.afternoon.test} {PINGS.na.evening.test} {PINGS.na.night.test} {PINGS.au.morning.test} {PINGS.au.afternoon.test} {PINGS.au.evening.test} {PINGS.au.night.test}}

{=(PINGS.message):{replace(>,> ):{replace( ,):{replace(
,):
    {=(NUM):1}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}
    {=(NUM):2}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}
    {=(NUM):3}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}
    {=(NUM):4}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}
    {=(NUM):5}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}
    {=(NUM):6}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}
    {=(NUM):7}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}
    {=(NUM):8}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}
    {=(NUM):9}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}
    {=(NUM):10}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}
    {=(NUM):11}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}
    {=(NUM):12}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}
}}}}
{{if({STATUS}!=success):=(PINGS.message):}}

{break({or({STATUS}==success | {STATUS}==error):true|false}==true):{{STATUS.output.{STATUS}}}{{STATUS.reaction.{STATUS}}}{PINGS.message}}
Raw JSON
{
  "id": 343668,
  "created_at": "2020-09-23T16:10:55.000Z",
  "tag_name": "host",
  "nsfw": false,
  "owner_id": "291137813590835212",
  "uses": 146,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "712197480984477696",
  "sharer": "291137813590835212",
  "content": "{=():}\n{=(carl.prefix):!}\n{=(option.prefix):/}\n{=(option.connector):=}\n\n{=(output.channel.success):757048900191256587}\n{=(output.channel.error):{channel(id)}}\n{=(output.example):{carl.prefix}host {option.prefix}lobby{option.connector}electrical {option.prefix}region{option.connector}North America {option.prefix}code{option.connector}ahfetg {option.prefix}map{option.connector}the skeld {option.prefix}desc{option.connector}Mic required}\n\n{=(comment):Random crewmate avatar}\n{=(AVATAR.ids):758624940068044810 758624853561049118 758624862142595072 758624872774500382 758624885328052285 758624894740725781 758624909139378198 758624912453402666 758624933479186483 758624935509491722 758624938054778900}\n{=(AVATAR.colours):16774400 1907997 6499876 1660185 4316481 4313565 16748310 16723678 8656568 16720675 14540253}\n{=(AVATAR.rand):{range:1-11}}\n{=(AVATAR.id):{AVATAR.ids({AVATAR.rand})}}\n{=(AVATAR.colour):{AVATAR.colours({AVATAR.rand})}}\n\n{=(PINGS.ids):759006086727991296 759006087394754581 759006088493793282 759006089487712266 759006091718950922 759006093153140776 759006095183839272 759006097137991690 759006099646054401 759006102493986849 759006105069813781 759006107796111360}\n\n{=(LOBBIES):ELECTRICAL MEDBAY ADMIN}\n{=(LOBBY_INVITES):4tQeY3E~c73PQWp~vuyjQFt}\n\n{=(LABELS):LOBBY CODE REGION IMPOSTORS MAP DESC}\n{=(REQUIRED):LOBBY CODE REGION}\n{=(OPTIONAL):IMPOSTORS MAP DESC}\n{=(USAGES):{join( or ):{LOBBIES}}~Six-letter Room Code~Server Region~Number of Impostors~Map Name~Description of Your Game Such As Special Rules}\n\n{=(comment):Parse arguments}\n{=(VALUES):}\n{=(args.upper):{upper:{args}}}\n{=(args.amendConnectorsWithSpace):{replace({option.connector},{option.connector} ):{args.upper}}}\n{=(NUM):1}\n\t{=(label):{LABELS({NUM})}}\n\t{=(label.index):{index({option.prefix}{label}{option.connector}):{args.amendConnectorsWithSpace}}}\n\t{=(label.indexPlusOne):{m:trunc({label.index}+1)}}\n\t{=(args.startAtLabel):{args.amendConnectorsWithSpace({label.indexPlusOne}+)}}\n\t{=(args.delimitConnectors):{replace({option.connector},{option.connector}~):{args.startAtLabel}}}\n\t{=(label.unformattedValue):{list(1):{args.delimitConnectors}}}\n\t{=(label.delimitConnectors):{replace({option.prefix},~):{label.unformattedValue}}}\n\t{=(label.value):{list(0):{label.delimitConnectors}}}\n\t{=(VALUES):{VALUES}~{if({label.index}!=-1):{label.value}|}}\n{=(NUM):2}\n\t{=(label):{LABELS({NUM})}}\n\t{=(label.index):{index({option.prefix}{label}{option.connector}):{args.amendConnectorsWithSpace}}}\n\t{=(label.indexPlusOne):{m:trunc({label.index}+1)}}\n\t{=(args.startAtLabel):{args.amendConnectorsWithSpace({label.indexPlusOne}+)}}\n\t{=(args.delimitConnectors):{replace({option.connector},{option.connector}~):{args.startAtLabel}}}\n\t{=(label.unformattedValue):{list(1):{args.delimitConnectors}}}\n\t{=(label.delimitConnectors):{replace({option.prefix},~):{label.unformattedValue}}}\n\t{=(label.value):{list(0):{label.delimitConnectors}}}\n\t{=(VALUES):{VALUES}~{if({label.index}!=-1):{label.value}|}}\n{=(NUM):3}\n\t{=(label):{LABELS({NUM})}}\n\t{=(label.index):{index({option.prefix}{label}{option.connector}):{args.amendConnectorsWithSpace}}}\n\t{=(label.indexPlusOne):{m:trunc({label.index}+1)}}\n\t{=(args.startAtLabel):{args.amendConnectorsWithSpace({label.indexPlusOne}+)}}\n\t{=(args.delimitConnectors):{replace({option.connector},{option.connector}~):{args.startAtLabel}}}\n\t{=(label.unformattedValue):{list(1):{args.delimitConnectors}}}\n\t{=(label.delimitConnectors):{replace({option.prefix},~):{label.unformattedValue}}}\n\t{=(label.value):{list(0):{label.delimitConnectors}}}\n\t{=(VALUES):{VALUES}~{if({label.index}!=-1):{label.value}|}}\n{=(NUM):4}\n\t{=(label):{LABELS({NUM})}}\n\t{=(label.index):{index({option.prefix}{label}{option.connector}):{args.amendConnectorsWithSpace}}}\n\t{=(label.indexPlusOne):{m:trunc({label.index}+1)}}\n\t{=(args.startAtLabel):{args.amendConnectorsWithSpace({label.indexPlusOne}+)}}\n\t{=(args.delimitConnectors):{replace({option.connector},{option.connector}~):{args.startAtLabel}}}\n\t{=(label.unformattedValue):{list(1):{args.delimitConnectors}}}\n\t{=(label.delimitConnectors):{replace({option.prefix},~):{label.unformattedValue}}}\n\t{=(label.value):{list(0):{label.delimitConnectors}}}\n\t{=(VALUES):{VALUES}~{if({label.index}!=-1):{label.value}|}}\n{=(NUM):5}\n\t{=(label):{LABELS({NUM})}}\n\t{=(label.index):{index({option.prefix}{label}{option.connector}):{args.amendConnectorsWithSpace}}}\n\t{=(label.indexPlusOne):{m:trunc({label.index}+1)}}\n\t{=(args.startAtLabel):{args.amendConnectorsWithSpace({label.indexPlusOne}+)}}\n\t{=(args.delimitConnectors):{replace({option.connector},{option.connector}~):{args.startAtLabel}}}\n\t{=(label.unformattedValue):{list(1):{args.delimitConnectors}}}\n\t{=(label.delimitConnectors):{replace({option.prefix},~):{label.unformattedValue}}}\n\t{=(label.value):{list(0):{label.delimitConnectors}}}\n\t{=(VALUES):{VALUES}~{if({label.index}!=-1):{label.value}|}}\n{=(NUM):6}\n\t{=(label):{LABELS({NUM})}}\n\t{=(label.index):{index({option.prefix}{label}{option.connector}):{args.amendConnectorsWithSpace}}}\n\t{=(label.indexPlusOne):{m:trunc({label.index}+1)}}\n\t{=(args.startAtLabel):{args.amendConnectorsWithSpace({label.indexPlusOne}+)}}\n\t{=(args.delimitConnectors):{replace({option.connector},{option.connector}~):{args.startAtLabel}}}\n\t{=(label.unformattedValue):{list(1):{args.delimitConnectors}}}\n\t{=(label.delimitConnectors):{replace({option.prefix},~):{label.unformattedValue}}}\n\t{=(label.value):{list(0):{label.delimitConnectors}}}\n\t{=(VALUES):{VALUES}~{if({label.index}!=-1):{label.value}|}}\n\n{=(VALUES.lobby):{replace( ,):{list(1):{VALUES}}}}\n{=(VALUES.code):{list(2):{VALUES}}}\n{=(VALUES.region):{list(3):{VALUES}}}\n{=(VALUES.impostors):{list(4):{VALUES}}}\n{=(VALUES.map):{list(5):{VALUES}}}\n{=(VALUES.desc):{list(6):{VALUES}}}\n\n{=(VALUES.lobby.invite):{list({index({VALUES.lobby}):{LOBBIES}}):{LOBBY_INVITES}}}\n\n{=(condition.required.lobby):{and({contains({VALUES.lobby}):{LOBBIES}}==true | {VALUES.lobby}!=):true|false}}\n{=(condition.required.code):{if({VALUES.code}!=):true|false}}\n{=(condition.required.region):{if({VALUES.region}!=):true|false}}\n{=(condition.optional.impostors):{if({VALUES.impostors}!=):true|false}}\n{=(condition.optional.map):{if({VALUES.map}!=):true|false}}\n{=(condition.optional.desc):{if({VALUES.desc}!=):true|false}}\n\n{=(output.success.field.join.value):<a:CrewmateDance:757490857107652678>**[Join waiting room](https://discord.gg/{VALUES.lobby.invite})**<a:CrewmateDance:757490857107652678>\\nLobby: {VALUES.lobby}\\nCode: {VALUES.code}\\nRegion: {VALUES.region}}\n{=(output.success.field.info.value):}\n{{if({condition.optional.impostors}==true):=(output.success.field.info.value):{output.success.field.info.value}Impostors: {VALUES.impostors}\\n}}\n{{if({condition.optional.map}==true):=(output.success.field.info.value):{output.success.field.info.value}Map: {VALUES.map}\\n}}\n{{if({condition.optional.desc}==true):=(output.success.field.info.value):{output.success.field.info.value}Other information: {VALUES.desc}\\n}}\n\n{{if({output.success.field.info.value}==):=(output.success.field.info.value):No other info to display! <:KnifeRed:756615534472200304>}}\n\n{=(output.success):{\n      \"title\": \"<:EmergencyMeeting:758624840046346263> New Hosted Game\",\n      \"color\": {AVATAR.colour},\n      \"fields\": [\n        {\n          \"name\": \"Play Together!\",\n          \"value\": \"{output.success.field.join.value}\",\n          \"inline\": true\n        },\n        {\n          \"name\": \"Info\",\n          \"value\": \"{output.success.field.info.value}\",\n          \"inline\": true\n        }\n      ],\n      \"author\": {\n        \"name\": \"{user(name)}\",\n        \"icon_url\": \"{user(avatar)}\"\n      },\n      \"footer\": {\n        \"text\": \"Among Us\",\n        \"icon_url\": \"https://cdn.discordapp.com/emojis/{AVATAR.id}.png?v=1\"\n      },\n      \"timestamp\": \"{strf:%FT%T}.000Z\"\n}}\n{=(output.error):{\n      \"title\": \"Error\",\n      \"description\": \"**Possible reasons for this error: you did not include all required labels, you spelt the lobby name incorrectly, you did not add a space before each label, you placed a comma somewhere.** Please see usage notes below.\\n\\nUsage: `{carl.prefix}host {option.prefix}LABEL{option.connector}<Label Value - May Contain Spaces>`\\n\\nLabels can be in any order, and they are not case-sensitive. Do not include the angle brackets (< and >).\\n\\nCorrect usage (required labels): `{carl.prefix}host {option.prefix}{REQUIRED(1)}{option.connector}<{list(0):{USAGES}}> {option.prefix}{REQUIRED(2)}{option.connector}<{list(1):{USAGES}}> {option.prefix}{REQUIRED(3)}{option.connector}<{list(2):{USAGES}}>`\\n\\nYou may add additional optional labels: `{option.prefix}{OPTIONAL(1)}{option.connector}<{list(3):{USAGES}}> {option.prefix}{OPTIONAL(2)}{option.connector}<{list(4):{USAGES}}> {option.prefix}{OPTIONAL(3)}{option.connector}<{list(5):{USAGES}}>`\\n\\nExample: `{output.example}`\",\n      \"color\": 16711680\n}}\n\n{=(STATUS):}\n{=(STATUS.output.success):c:cembed {output.channel.success} {output.success}}\n{=(STATUS.reaction.success):reactu: ✅}\n{=(STATUS.output.error):c:cembed {output.channel.error} {output.error}}\n{=(STATUS.reaction.error):reactu: ❌}\n\n{{and({condition.required.lobby}==true | {condition.required.code}==true | {condition.required.region}==true | {in(,):{args}}==false):=(STATUS):success|=(STATUS):error}}\n{{if({STATUS}!=):redirect:{output.channel.{STATUS}}}}\n\n{=(comment):Determine if it is the appropriate time to ping a region role}\n{=(HOUR):{strf:%-H}}\n\n{=(PINGS.eu.morning.test):{and(4 <= {HOUR} | {HOUR} <= 10):true|false}}\n{=(PINGS.eu.afternoon.test):{and(10 <= {HOUR} | {HOUR} <= 16):true|false}}\n{=(PINGS.eu.evening.test):{and(16 <= {HOUR} | {HOUR} <= 20):true|false}}\n{=(PINGS.eu.night.test):{or(20 <= {HOUR} | {HOUR} <= 4):true|false}}\n\n{=(PINGS.na.morning.test):{and(11 <= {HOUR} | {HOUR} <= 17):true|false}}\n{=(PINGS.na.afternoon.test):{and(17 <= {HOUR} | {HOUR} <= 23):true|false}}\n{=(PINGS.na.evening.test):{or(23 <= {HOUR} | {HOUR} <= 5):true|false}}\n{=(PINGS.na.night.test):{and(5 <= {HOUR} | {HOUR} <= 11):true|false}}\n\n{=(PINGS.au.morning.test):{or(20 <= {HOUR} | {HOUR} <= 2):true|false}}\n{=(PINGS.au.afternoon.test):{and(2 <= {HOUR} | {HOUR} <= 8):true|false}}\n{=(PINGS.au.evening.test):{and(8 <= {HOUR} | {HOUR} <= 14):true|false}}\n{=(PINGS.au.night.test):{and(14 <= {HOUR} | {HOUR} <= 20):true|false}}\n\n{=(PINGS.tests):{PINGS.eu.morning.test} {PINGS.eu.afternoon.test} {PINGS.eu.evening.test} {PINGS.eu.night.test} {PINGS.na.morning.test} {PINGS.na.afternoon.test} {PINGS.na.evening.test} {PINGS.na.night.test} {PINGS.au.morning.test} {PINGS.au.afternoon.test} {PINGS.au.evening.test} {PINGS.au.night.test}}\n\n{=(PINGS.message):{replace(>,> ):{replace( ,):{replace(\n,):\n    {=(NUM):1}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}\n    {=(NUM):2}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}\n    {=(NUM):3}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}\n    {=(NUM):4}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}\n    {=(NUM):5}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}\n    {=(NUM):6}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}\n    {=(NUM):7}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}\n    {=(NUM):8}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}\n    {=(NUM):9}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}\n    {=(NUM):10}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}\n    {=(NUM):11}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}\n    {=(NUM):12}{if({PINGS.tests({NUM})}==true):<@&{PINGS.ids({NUM})}>|}\n}}}}\n{{if({STATUS}!=success):=(PINGS.message):}}\n\n{break({or({STATUS}==success | {STATUS}==error):true|false}==true):{{STATUS.output.{STATUS}}}{{STATUS.reaction.{STATUS}}}{PINGS.message}}",
  "embed": "{}",
  "last_fetched": "2026-10-20T22:34:40.800Z"
}