meteor
Private
Content
94 lines{=(COMMENT):Rev 02: Major cleanup, following the other command series. Added custom output messages. reduce redundency}
{=(COMMENT):General configuration}
{=(COMMENT):Main prefix and name of the tag, to be used in the command's instructions if you'd like to display them.}
{=(prefix):.}
{=(tagName):meteor}
{=(COMMENT):Image database}
{=(DeathImage):{#:2|https://imgur.com/eySwTcz.png~6|https://imgur.com/Ko2X9Pg.png}}
{=(TRexImage):{#:https://imgur.com/JQzNKjC.png}}
{require(<#735320581645402202> only):735320581645402202}
{=(COMMENT):735320581645402202 is the meteor festival channel, where command is to be used}
{=(COMMENT):Avoids the bot's default outputs to only have our custom ones to display.}
{silence}
{=(COMMENT):Allows the user of the tag to actually execute the command blocks above, while they normally couldn't outside of it because of the lack of permissions.}
{override}
{=(COMMENT):689696613597315079 is the dead role, Joke Mute Role}
{=(DRole):689696613597315079}
{=(COMMENT):737532034930442342 is the T-Rex role, aka Reward Role}
{=(TRexRole):737532034930442342}
{=(COMMENT):Random Death Time}
{=(Deadtime):{#:30|10m~20|30m~10|60m}}
{=(COMMENT):Formats the cooldown properly for outputs. Example: "15m" becomes "15 minutes".}
{=(DeadtimeFormat):{replace(m, minutes):{Deadtime}}}
{=(comment):1141831669914021978 is the channel to announce where user has become a T-Rex}
{=(AnnounceT-Rex):echo 1141831669914021978 true {user(mention)} aka <@{user(id)}> aka {user(id)} has become a T-Rex thanks to the divine `. meteor`}
{=(COMMENT):Command setup}
{=(RLive):echo true You Lived}
{=(RDead):temprole c {user(id)} {Deadtime} +{DRole}}
{=(RTrex):temprole c {user(id)} 7d +{TRexRole}}
{=(COMMENT):Setting up command to chance}
{=(RandomCMD):{{#:90|RLive~60|RDead~1|RTrex}}}
{=(COMMENT):Command execution}
{=():}
{cmd:{RandomCMD}}
{{if({RandomCMD}=={RTrex}):c:{AnnounceT-Rex}}}
{=(COMMENT):Setting up time Statement, used for the discord time messages}
{=(COMMENT):Time for Dead duration. Automated conversation based off random time}
{=(COMMENT):Time for normal, used formula}
{=(DeadSec):{replace(m,*60):{Deadtime}}}
{=(timeDead):{m:trunc({unix}+{DeadSec})}}
{=(COMMENT):Time for t-rex duration. Automated conversation based off random time}
{=(COMMENT):604800 seconds in a week}
{=(TimeTrex):{m:trunc({unix}+604800)}}
{=(COMMENT):Message setup}
{=(msg.RLive):π You lived!}
{=(DeadRandommessage):{#:4|felt wrath of the Rex.~5|squished by a meteor.~2|has chosen life of a pancake.~3|met their crater.~1|gambled their life away.}}
{=(msg.RDead): :skull_crossbones: {mention} {DeadRandommessage}
πͺ¦ {mention} is now on <@&{DRole}> for __`{DeadtimeFormat}`__.
β° Local time: <t:{timeDead}:f> aka <t:{timeDead}:R>.}
{=(msg.RTrex):<:TRex_Icon:894637849419341885> {mention} is blessed by rex under this meteor festival and evolved into a <@&{TRexRole}> for __`1 week.`__
β° Local time: <t:{TimeTrex}:f> aka <t:{TimeTrex}:R>.}
{=(COMMENT):Output management. Displays the message corresponding to the current situation. Adapts to the player's behavior.}
{embed(title):πͺ¨ π Meteor Festival: Let Rex's Favor be with you! :skull_crossbones: <:TRex_Icon:894637849419341885> πͺ¦}
{=(Dead_Role_Color):#070707}
{=(TRex_Role_Color):#9b59b6}
{embed(color):{if({RandomCMD}=={RLive}):{user(color)}|
{if({RandomCMD}=={RDead}):{Dead_Role_Color}|
{TRex_Role_Color}
}
}}
{embed(description):{if({RandomCMD}=={RLive}):{msg.RLive}|
{if({RandomCMD}=={RDead}):{msg.RDead}|
{msg.RTrex}
}
}}
{=(COMMENT):Embed variable, since no section, answer so put it into the embed builder}
{=(OutputImage):{if({RandomCMD}=={RDead}):{DeathImage}|{if({RandomCMD}=={RTrex}):{TRexImage}}}}
{=(embed.image):{if({RandomCMD}!={RLive}):{OutputImage}}}
{embed.image}
{=(embed.footer):{prefix}{tagName}}Embed
1 line{"color": 0, "image": {"url": "{embed.image}"}, "footer": {"text": "{embed.footer}"}}Raw JSON
{
"id": 268023,
"created_at": "2020-07-28T19:27:30.000Z",
"tag_name": "meteor",
"nsfw": false,
"owner_id": "237997099432542209",
"uses": 45873,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "",
"hidden": false,
"guild_id": "632804599979311144",
"sharer": "276176767872532480",
"content": "{=(COMMENT):Rev 02: Major cleanup, following the other command series. Added custom output messages. reduce redundency}\n\n\n{=(COMMENT):General configuration}\n{=(COMMENT):Main prefix and name of the tag, to be used in the command's instructions if you'd like to display them.}\n{=(prefix):.}\n{=(tagName):meteor}\n\n{=(COMMENT):Image database}\n{=(DeathImage):{#:2|https://imgur.com/eySwTcz.png~6|https://imgur.com/Ko2X9Pg.png}}\n{=(TRexImage):{#:https://imgur.com/JQzNKjC.png}}\n\n{require(<#735320581645402202> only):735320581645402202}\n{=(COMMENT):735320581645402202 is the meteor festival channel, where command is to be used}\n\n{=(COMMENT):Avoids the bot's default outputs to only have our custom ones to display.}\n{silence}\n\n{=(COMMENT):Allows the user of the tag to actually execute the command blocks above, while they normally couldn't outside of it because of the lack of permissions.}\n{override}\n\n\n{=(COMMENT):689696613597315079 is the dead role, Joke Mute Role}\n{=(DRole):689696613597315079}\n{=(COMMENT):737532034930442342 is the T-Rex role, aka Reward Role}\n{=(TRexRole):737532034930442342}\n\n{=(COMMENT):Random Death Time}\n{=(Deadtime):{#:30|10m~20|30m~10|60m}}\n{=(COMMENT):Formats the cooldown properly for outputs. Example: \"15m\" becomes \"15 minutes\".}\n{=(DeadtimeFormat):{replace(m, minutes):{Deadtime}}} \n\n{=(comment):1141831669914021978 is the channel to announce where user has become a T-Rex}\n{=(AnnounceT-Rex):echo 1141831669914021978 true {user(mention)} aka <@{user(id)}> aka {user(id)} has become a T-Rex thanks to the divine `. meteor`}\n\n{=(COMMENT):Command setup}\n{=(RLive):echo true You Lived}\n{=(RDead):temprole c {user(id)} {Deadtime} +{DRole}}\n{=(RTrex):temprole c {user(id)} 7d +{TRexRole}}\n\n{=(COMMENT):Setting up command to chance}\n{=(RandomCMD):{{#:90|RLive~60|RDead~1|RTrex}}} \n\n{=(COMMENT):Command execution}\n{=():}\n{cmd:{RandomCMD}}\n{{if({RandomCMD}=={RTrex}):c:{AnnounceT-Rex}}}\n\n{=(COMMENT):Setting up time Statement, used for the discord time messages}\n{=(COMMENT):Time for Dead duration. Automated conversation based off random time}\n{=(COMMENT):Time for normal, used formula}\n{=(DeadSec):{replace(m,*60):{Deadtime}}}\n{=(timeDead):{m:trunc({unix}+{DeadSec})}}\n\n{=(COMMENT):Time for t-rex duration. Automated conversation based off random time}\n{=(COMMENT):604800 seconds in a week}\n{=(TimeTrex):{m:trunc({unix}+604800)}}\n\n{=(COMMENT):Message setup}\n{=(msg.RLive):π You lived!}\n\n{=(DeadRandommessage):{#:4|felt wrath of the Rex.~5|squished by a meteor.~2|has chosen life of a pancake.~3|met their crater.~1|gambled their life away.}} \n \n{=(msg.RDead): :skull_crossbones: {mention} {DeadRandommessage}\nπͺ¦ {mention} is now on <@&{DRole}> for __`{DeadtimeFormat}`__.\nβ° Local time: <t:{timeDead}:f> aka <t:{timeDead}:R>.}\n\n{=(msg.RTrex):<:TRex_Icon:894637849419341885> {mention} is blessed by rex under this meteor festival and evolved into a <@&{TRexRole}> for __`1 week.`__\nβ° Local time: <t:{TimeTrex}:f> aka <t:{TimeTrex}:R>.}\n\n{=(COMMENT):Output management. Displays the message corresponding to the current situation. Adapts to the player's behavior.}\n{embed(title):πͺ¨ π Meteor Festival: Let Rex's Favor be with you! :skull_crossbones: <:TRex_Icon:894637849419341885> πͺ¦}\n\n{=(Dead_Role_Color):#070707}\n{=(TRex_Role_Color):#9b59b6}\n{embed(color):{if({RandomCMD}=={RLive}):{user(color)}|\n\t\t\t\t\t\t{if({RandomCMD}=={RDead}):{Dead_Role_Color}|\n\t\t\t\t\t\t\t{TRex_Role_Color}\n\t\t\t\t\t\t}\n}}\n\n{embed(description):{if({RandomCMD}=={RLive}):{msg.RLive}|\n\t\t\t\t\t\t{if({RandomCMD}=={RDead}):{msg.RDead}|\n\t\t\t\t\t\t\t{msg.RTrex}\n\t\t\t\t\t\t}\n}}\n\n{=(COMMENT):Embed variable, since no section, answer so put it into the embed builder}\n\n{=(OutputImage):{if({RandomCMD}=={RDead}):{DeathImage}|{if({RandomCMD}=={RTrex}):{TRexImage}}}}\n{=(embed.image):{if({RandomCMD}!={RLive}):{OutputImage}}}\n{embed.image}\n\n{=(embed.footer):{prefix}{tagName}}",
"embed": "{\"color\": 0, \"image\": {\"url\": \"{embed.image}\"}, \"footer\": {\"text\": \"{embed.footer}\"}}",
"last_fetched": "2026-10-20T22:04:51.070Z"
}