chomp

Private

Content

227 lines
{=(COMMENT):Rev 14: 2026-03-20 Adding S3P2 Gif}
{=(COMMENT):Rev 13: 2025-01-05 Updated image so based by seasons, and added S3}
{=(COMMENT):Rev 12: 2024-02-10 Added a check to avoid letting people that are @dead kill people that are not.}
{=(COMMENT):Rev 11: 2023-09-08 Switching Police role, from 632848133465964554 to 1149595257277775904}
{=(COMMENT):Rev 10: 2022-04-26 Clean up embed section, updated cool down system to account for young beastars and cd of non t-rex, added clinic assistant to has role}
{=(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):chomp}

{=(S1Image):{#:1|https://imgur.com/QZQxHyx.gif~1|https://imgur.com/jy3jNhl.gif}}
{=(S2Image):{#:1|https://imgur.com/ELbk1bh.gif~1|https://imgur.com/ELbk1bh.gif~1|https://imgur.com/hTDZ0eB.gif~1|https://imgur.com/yU4Ocx5.gif}}
{=(S3P1Image):{#:2|https://imgur.com/uI3SLUf.gif~1|https://imgur.com/YTE5R9z.gif}}
{=(S3P2Image):{#:2|https://imgur.com/A90akYB.gif~1|https://imgur.com/Qp5DSst.gif}}
{=(HitImage):{{#:2|S1Image~2|S2Image~3|S3P1Image~3|S3P2Image}}}

{=(KissImage):{#:1|https://imgur.com/k57oj1S.png~1|https://imgur.com/53wU3jn.png~1|https://imgur.com/20njGRU.png~2|https://imgur.com/RvwyEp7.gif}}
{=(ZombieImage):https://imgur.com/1JCZ1LG.png}
{=(BuffImage):https://imgur.com/IJV3Xda.gif}
{=(FailImage):{{#:6|KissImage~3|ZombieImage~5|BuffImage}}}

{=(OutputImage):{if({contains(872586027859079188):{target(roleids)}}==false):{HitImage}|{FailImage}}}

{=(KillFailed1):<:BloodMoon:656365681062707200> {mention} attempted to kill {target(mention)} with the `.chomp`  command in {channel(mention)}.}
{=(KillFailed2):<:BloodMoon:656365681062707200> Ability failed, {target(mention)} has <@&872586027859079188> and survived for now.}

{=(BuffImage_Comment):<:Moon:655491828035878912> {target(mention)} says *`Puny Beast. Time for Round 2.`*}
{=(KissImage_Comment):<:Moon:655491828035878912> {target(mention)} says *`Attack failed; countered with a french kiss.`*}
{=(Fail_Comment):{if({FailImage}=={BuffImage}):BuffImage_Comment|{if({FailImage}=={KissImage}):KissImage_Comment}}}

{=(COMMENT):Roles IDs}
{=(COMMENT):738759412344422450 is the role id for Full, the cooldown for commands.}
{=(cdRole):738759412344422450}
{=(COMMENT):633065421829963776 is the booster role, aka All-Organism Council}
{=(BRole):633065421829963776}
{=(COMMENT):737532034930442342 is the T-Rex role, aka Reward Role}
{=(TRexRole):737532034930442342}
{=(COMMENT):is 691787391244959754 is the Hybridgumi Role}
{=(HRole):691787391244959754}
{=(COMMENT):is 824746693286297631 is the Clinic Assistant Role}
{=(CARole):824746693286297631}
{=(COMMENT):632848133465964554 is the Mod role, aka Police}
{=(PRole):1149595257277775904}
{=(COMMENT):1149595257277775904 is the dead role, Joke Mute Role}
{=(DRole):689696613597315079}
{=(COMMENT):872586027859079188 is ToughSkin, the immunity role so the target doesn't get attacked too often.}
{=(TSRole):872586027859079188}
{=(COMMENT):No Events Role has requested not to participate in any server events.}
{=(NERole):898435578780074056}
{=(COMMENT):651172902871367712 is freshman role, protection given to prevent action on new members}
{=(FRole):651172902871367712}
{=(COMMENT):913619173517705286 is the Infected role that adds the symbol}
{=(InfectedRole):913619173517705286}
{=(COMMENT):92054304096639390 is the Young Beastars role, reward for Leaderboard}
{=(YBRole):920543040966393906}


{=(COMMENT):Conditional checks}
{=(COMMENT):Checks if the user is on cooldown.}
{=(isCooldown):{contains({cdRole}):{user(roleids)}}}
{=(COMMENT):Checks if the user is currently has no event role.}
{=(isUserNoEvents):{contains({NERole}):{user(roleids)}}}
{=(COMMENT):Checks if the mentioned target has no events role, thus does not want to participate in any events}
{=(isTargetNoEvents):{contains({NERole}):{target(roleids)}}}
{=(COMMENT):Checks if the mentioned target has ToughSkin Role, immunity role from being killed too frequently}
{=(isTargetToughSkin):{contains({TSRole}):{target(roleids)}}}
{=(COMMENT):Checks if the mentioned target has Freshman Role, Protection for new members}
{=(isTargetFreshman):{contains({FRole}):{target(roleids)}}}
{=(COMMENT):Checks if mentioned target is booster}
{=(isTargetBooster):{contains({BRole}):{target(roleids)}}}

{=(COMMENT):Checks if the user is currently infected.}
{=(isTargetInfected):{contains({InfectedRole}):{target(roleids)}}}


{=(COMMENT):Checks if the user T-Rex.}
{=(isTRex):{contains({TRexRole}):{user(roleids)}}}
{=(COMMENT):Checks if the user Police.}
{=(isPolice):{contains({PRole}):{user(roleids)}}}
{=(COMMENT):Checks if the user Hybridgumi.}
{=(isHybridgumi):{contains({HRole}):{user(roleids)}}}
{=(COMMENT):Checks if the user ClinicAssistant.}
{=(isClinic):{contains({CARole}):{user(roleids)}}}
{=(COMMENT):Checks if the user is booster }
{=(isBooster):{contains({BRole}):{user(roleids)}}}
{=(COMMENT):Checks if the user is Young Beastars.}
{=(isYB):{contains({YBRole}):{user(roleids)}}}
{=(COMMENT):Checks if the user is dead.}
{=(isDead):{contains({DRole}):{user(roleids)}}}
{=(COMMENT):Checks if the target is dead.}
{=(isTargetDead):{contains({DRole}):{target(roleids)}}}

{=(COMMENT):Checks if the user has any of the required roles}
{=(HasRole):{any({isTRex}==true|{isPolice}==true|{isHybridgumi}==true|{isClinic}==true|{isYB}==true):true|false}}

{=(COMMENT):Checks if the user Has either T-Rex or Booster.}
{=(isTRexOrBooster):{any({isTRex}==true|{isBooster}==true):true|false}}
{=(isTRexAndBooster):{all({isTRex}==true|{isBooster}==true):true|false}}
{=(isTRexAndBoosterAndYB):{all({isTRexAndBooster}==true|{isYB}==true):true|false}}

{=(COMMENT):Set up cooldown timer, varible based on role.}
{=(CDTime):{if({isTRexAndBoosterAndYB}==true):1h|{if({isTRexAndBooster}==true):2h|{if({isTRexOrBooster}==true):3h|6h}}}}
{=(COMMENT):Formats the cooldown properly for outputs. Example: "15m" becomes "15 minutes".}
{=(cdFormat):{replace(h, hours):{CDTime}}} 

{=(COMMENT):The next check is specifically to avoid exploitation.}
{=(COMMENT):Checks if either user is dead or target is dead}
{=(Deadcheck):{any({isDead}==false|{isTargetDead}==true):true|false}}

{=(COMMENT):Checks if the user can kill via chomp by meeting the proper conditions.}
{=(canKill):{all({HasRole}==true|{Deadcheck}==true|{isCooldown}==false|{isUserNoEvents}==false|{isTargetNoEvents}==false|{isTargetToughSkin}==false|{isTargetFreshman}==false):true|false}}

{=(isKillInfected):{all({canKill}==true|{isTargetInfected}==true):true|false}}

{=(ImageExist):{all({HasRole}==true|{Deadcheck}==true|{isCooldown}==false|{isUserNoEvents}==false|{isTargetNoEvents}==false|{isTargetFreshman}==false):true|false}}

{=(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):Command setup}
{=(COMMENT):Kill.}
{=(ActivateKill):temprole {target(id)} 1min {DRole}}
{=(COMMENT):Sets the cooldown role on the user of the tag.}
{=(Cooldown):temprole c {user(id)} {CDTime} +{cdRole}}

{=(COMMENT):Set Roles for Cooldown. Updated so option to give }
{=(CDRoles):{if({isKillInfected}==true):+{cdRole} + {InfectedRole}|+{cdRole}}}
{=(COMMENT):Sets the cooldown role on the user of the tag.}
{=(Cooldown):temprole c {user(id)} {CDTime} {CDRoles}}

{=(COMMENT):Set up immunity time, Using Tough Skin Role Varies for booster and non booster}
{=(TSTime):{if({isTargetBooster}==true):15m|10m}}
{=(Immunity):temprole {target(id)} {TSTime} {TSRole}}
{=(TSFormat):{replace(m, minutes):{TSTime}}} 

{=(COMMENT):Command execution}
{=():}
{=(COMMENT):Infects the target by transferring their role to them.}
{{if({canKill}==true):c:{ActivateKill}}}
{=(COMMENT):Sets the cooldown role on the user of the tag.}
{{if({canKill}==true):c:{Cooldown}}}
{=(COMMENT):Sets the Immunity role on the target of the tag.}
{{if({canKill}==true):c:{Immunity}}}

{=(COMMENT):Error messages configuration.}
{=(msg.DeadExploit):⚠️ {user(mention)}, you cannot haunt the living!🪦👻}
{=(msg.CommandFailed):⚠️ Unable to use to command due to not meeting conditions.}
{=(msg.NoRequiredRoles):⚠️ <@&{TRexRole}> only. See the <#735320581645402202> description for details.}
{=(msg.cd):⚠️ Stomach too <@&{cdRole}> to eat, wait {CDTime} from when command was used to use the command again, {user(mention)}!}
{=(msg.UserNE):⚠️ {user(mention)}, you cannot use this command due to <@&{NERole}> :octagonal_sign: blocking the use of optional commands!}
{=(msg.TargetNE):⚠️ Users with <@&{NERole}> :octagonal_sign: have opted out of optional commands.
Please select a different target,  {user(mention)}!}
{=(msg.TargetFresh):⚠️ <@&{FRole}> are immune to optional commands since they are new members.
Please select a different target,  {user(mention)}!}
{=(msg.TargetTS):{KillFailed1}
{KillFailed2}
{{Fail_Comment}}}

{=(COMMENT):Setting up time Statement, used for the discord time messages}
{=(COMMENT):Time for CD duration. does not know how to use the variable time {cooldown} in math, so have to do conversion directly}
{=(COMMENT):CD Time for normal, used formula}
{=(CDSeconds):{replace(h,*3600):{CDTime}}}
{=(timeCD):{m:trunc({unix}+{CDSeconds})}}
{=(COMMENT):Time for TS Duration, formula}
{=(TSSeconds):{replace(m,*60):{TSTime}}}
{=(timeTS):{m:trunc({unix}+{TSSeconds})}}

{=(KillOutput):<:BloodMoon:656365681062707200> {target(mention)} is now <@&{DRole}> for __`1 minute`__ due to {mention} using the `{prefix}{tagName}` command in {channel(mention)}.}
{=(CDOutput):<:BloodMoon:656365681062707200> {mention} is now on <@&{cdRole}> for __`{cdFormat}`__.
⏰ Local time: <t:{timeCD}:f> aka <t:{timeCD}:R>.}
{=(ImmunityOutput):<:BloodMoon:656365681062707200> {target(mention)} is now upgraded with <@&{TSRole}> for __`{TSFormat}`__.
⏰ Local time: <t:{timeTS}:f> aka <t:{timeTS}:R>}

{=(msg.Killed):{KillOutput}
{CDOutput}
{ImmunityOutput}}

{=(InfectedFood):☣️ {target(mention)} was <@&{InfectedRole}> ☣️. By eating them, {user(mention)} is now <@&{InfectedRole}> ☣️ for __`{CDTime}`__.}
{=(msg.InfectKill):{msg.Killed}
{InfectedFood}}

{=(COMMENT):Output management. Displays the message corresponding to the current situation. Adapts to the player's behavior.}
{embed(title):🔪🔫 Kill Commands: Chomp 🪦}

{embed(description):{if({isKillInfected}==true):{msg.InfectKill}|
	{if({isCooldown}==true):{msg.cd}|
		{if({HasRole}==false):{msg.NoRequiredRoles}|
			{if({isUserNoEvents}==true):{msg.UserNE}|
				{if({isTargetToughSkin}==true):{msg.TargetTS}|
					{if({isTargetNoEvents}==true):{msg.TargetNE}|
						{if({isTargetFreshman}==true):{msg.TargetFresh}|
							{if({canKill}==true):{msg.Killed}|
								{if({Deadcheck}==false):{msg.DeadExploit}|
									{msg.CommandFailed}
								}
							}
						}
					}
				}
			}
		}
	}
}
}


{=(Infected_Color):#00D10F}
{=(Police_Role_Color):#1a7939}
{=(TRex_Role_Color):#9b59b6}
{=(Hybridgumi_Role_Color):#20bc93}
{=(Dead_Role_Color):#070707}
{=(BloodRedForFail):#880808}
{=(Freshman_Role_Color):#9900cc}

{=(KillColor):{{#:6|user(color)~4|target(color)~1|Police_Role_Color~1|TRex_Role_Color~1|Hybridgumi_Role_Color~1|Dead_Role_Color}}}
{=(ErrorFreshman):{all({HasRole}==true|{isCooldown}==false|{isUserNoEvents}==false|{isTargetNoEvents}==false|{isTargetToughSkin}==false|{isTargetFreshman}==true):true|false}}

{embed(color):{if({ErrorFreshman}==true):{Freshman_Role_Color}|{if({isKillInfected}==true):{Infected_Color}|{if({canKill}==true):{KillColor}|{BloodRedForFail}}}}}

{=(COMMENT):Embed variable, since no section, answer so put it into the embed builder}

{=(embed.footer):{prefix}{tagName} @target}
{=(embed.image):{if({ImageExist}==true):{OutputImage}}}
{embed.image}

Embed

1 line
{"color": 5198940, "image": {"url": "{embed.image}"}, "footer": {"text": "{embed.footer}"}, "description": "test"}
Raw JSON
{
  "id": 267293,
  "created_at": "2020-07-28T05:48:05.000Z",
  "tag_name": "chomp",
  "nsfw": false,
  "owner_id": "237997099432542209",
  "uses": 17381,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "632804599979311144",
  "sharer": "276176767872532480",
  "content": "{=(COMMENT):Rev 14: 2026-03-20 Adding S3P2 Gif}\n{=(COMMENT):Rev 13: 2025-01-05 Updated image so based by seasons, and added S3}\n{=(COMMENT):Rev 12: 2024-02-10 Added a check to avoid letting people that are @dead kill people that are not.}\n{=(COMMENT):Rev 11: 2023-09-08 Switching Police role, from 632848133465964554 to 1149595257277775904}\n{=(COMMENT):Rev 10: 2022-04-26 Clean up embed section, updated cool down system to account for young beastars and cd of non t-rex, added clinic assistant to has role}\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):chomp}\n\n{=(S1Image):{#:1|https://imgur.com/QZQxHyx.gif~1|https://imgur.com/jy3jNhl.gif}}\n{=(S2Image):{#:1|https://imgur.com/ELbk1bh.gif~1|https://imgur.com/ELbk1bh.gif~1|https://imgur.com/hTDZ0eB.gif~1|https://imgur.com/yU4Ocx5.gif}}\n{=(S3P1Image):{#:2|https://imgur.com/uI3SLUf.gif~1|https://imgur.com/YTE5R9z.gif}}\n{=(S3P2Image):{#:2|https://imgur.com/A90akYB.gif~1|https://imgur.com/Qp5DSst.gif}}\n{=(HitImage):{{#:2|S1Image~2|S2Image~3|S3P1Image~3|S3P2Image}}}\n\n{=(KissImage):{#:1|https://imgur.com/k57oj1S.png~1|https://imgur.com/53wU3jn.png~1|https://imgur.com/20njGRU.png~2|https://imgur.com/RvwyEp7.gif}}\n{=(ZombieImage):https://imgur.com/1JCZ1LG.png}\n{=(BuffImage):https://imgur.com/IJV3Xda.gif}\n{=(FailImage):{{#:6|KissImage~3|ZombieImage~5|BuffImage}}}\n\n{=(OutputImage):{if({contains(872586027859079188):{target(roleids)}}==false):{HitImage}|{FailImage}}}\n\n{=(KillFailed1):<:BloodMoon:656365681062707200> {mention} attempted to kill {target(mention)} with the `.chomp`  command in {channel(mention)}.}\n{=(KillFailed2):<:BloodMoon:656365681062707200> Ability failed, {target(mention)} has <@&872586027859079188> and survived for now.}\n\n{=(BuffImage_Comment):<:Moon:655491828035878912> {target(mention)} says *`Puny Beast. Time for Round 2.`*}\n{=(KissImage_Comment):<:Moon:655491828035878912> {target(mention)} says *`Attack failed; countered with a french kiss.`*}\n{=(Fail_Comment):{if({FailImage}=={BuffImage}):BuffImage_Comment|{if({FailImage}=={KissImage}):KissImage_Comment}}}\n\n{=(COMMENT):Roles IDs}\n{=(COMMENT):738759412344422450 is the role id for Full, the cooldown for commands.}\n{=(cdRole):738759412344422450}\n{=(COMMENT):633065421829963776 is the booster role, aka All-Organism Council}\n{=(BRole):633065421829963776}\n{=(COMMENT):737532034930442342 is the T-Rex role, aka Reward Role}\n{=(TRexRole):737532034930442342}\n{=(COMMENT):is 691787391244959754 is the Hybridgumi Role}\n{=(HRole):691787391244959754}\n{=(COMMENT):is 824746693286297631 is the Clinic Assistant Role}\n{=(CARole):824746693286297631}\n{=(COMMENT):632848133465964554 is the Mod role, aka Police}\n{=(PRole):1149595257277775904}\n{=(COMMENT):1149595257277775904 is the dead role, Joke Mute Role}\n{=(DRole):689696613597315079}\n{=(COMMENT):872586027859079188 is ToughSkin, the immunity role so the target doesn't get attacked too often.}\n{=(TSRole):872586027859079188}\n{=(COMMENT):No Events Role has requested not to participate in any server events.}\n{=(NERole):898435578780074056}\n{=(COMMENT):651172902871367712 is freshman role, protection given to prevent action on new members}\n{=(FRole):651172902871367712}\n{=(COMMENT):913619173517705286 is the Infected role that adds the symbol}\n{=(InfectedRole):913619173517705286}\n{=(COMMENT):92054304096639390 is the Young Beastars role, reward for Leaderboard}\n{=(YBRole):920543040966393906}\n\n\n{=(COMMENT):Conditional checks}\n{=(COMMENT):Checks if the user is on cooldown.}\n{=(isCooldown):{contains({cdRole}):{user(roleids)}}}\n{=(COMMENT):Checks if the user is currently has no event role.}\n{=(isUserNoEvents):{contains({NERole}):{user(roleids)}}}\n{=(COMMENT):Checks if the mentioned target has no events role, thus does not want to participate in any events}\n{=(isTargetNoEvents):{contains({NERole}):{target(roleids)}}}\n{=(COMMENT):Checks if the mentioned target has ToughSkin Role, immunity role from being killed too frequently}\n{=(isTargetToughSkin):{contains({TSRole}):{target(roleids)}}}\n{=(COMMENT):Checks if the mentioned target has Freshman Role, Protection for new members}\n{=(isTargetFreshman):{contains({FRole}):{target(roleids)}}}\n{=(COMMENT):Checks if mentioned target is booster}\n{=(isTargetBooster):{contains({BRole}):{target(roleids)}}}\n\n{=(COMMENT):Checks if the user is currently infected.}\n{=(isTargetInfected):{contains({InfectedRole}):{target(roleids)}}}\n\n\n{=(COMMENT):Checks if the user T-Rex.}\n{=(isTRex):{contains({TRexRole}):{user(roleids)}}}\n{=(COMMENT):Checks if the user Police.}\n{=(isPolice):{contains({PRole}):{user(roleids)}}}\n{=(COMMENT):Checks if the user Hybridgumi.}\n{=(isHybridgumi):{contains({HRole}):{user(roleids)}}}\n{=(COMMENT):Checks if the user ClinicAssistant.}\n{=(isClinic):{contains({CARole}):{user(roleids)}}}\n{=(COMMENT):Checks if the user is booster }\n{=(isBooster):{contains({BRole}):{user(roleids)}}}\n{=(COMMENT):Checks if the user is Young Beastars.}\n{=(isYB):{contains({YBRole}):{user(roleids)}}}\n{=(COMMENT):Checks if the user is dead.}\n{=(isDead):{contains({DRole}):{user(roleids)}}}\n{=(COMMENT):Checks if the target is dead.}\n{=(isTargetDead):{contains({DRole}):{target(roleids)}}}\n\n{=(COMMENT):Checks if the user has any of the required roles}\n{=(HasRole):{any({isTRex}==true|{isPolice}==true|{isHybridgumi}==true|{isClinic}==true|{isYB}==true):true|false}}\n\n{=(COMMENT):Checks if the user Has either T-Rex or Booster.}\n{=(isTRexOrBooster):{any({isTRex}==true|{isBooster}==true):true|false}}\n{=(isTRexAndBooster):{all({isTRex}==true|{isBooster}==true):true|false}}\n{=(isTRexAndBoosterAndYB):{all({isTRexAndBooster}==true|{isYB}==true):true|false}}\n\n{=(COMMENT):Set up cooldown timer, varible based on role.}\n{=(CDTime):{if({isTRexAndBoosterAndYB}==true):1h|{if({isTRexAndBooster}==true):2h|{if({isTRexOrBooster}==true):3h|6h}}}}\n{=(COMMENT):Formats the cooldown properly for outputs. Example: \"15m\" becomes \"15 minutes\".}\n{=(cdFormat):{replace(h, hours):{CDTime}}} \n\n{=(COMMENT):The next check is specifically to avoid exploitation.}\n{=(COMMENT):Checks if either user is dead or target is dead}\n{=(Deadcheck):{any({isDead}==false|{isTargetDead}==true):true|false}}\n\n{=(COMMENT):Checks if the user can kill via chomp by meeting the proper conditions.}\n{=(canKill):{all({HasRole}==true|{Deadcheck}==true|{isCooldown}==false|{isUserNoEvents}==false|{isTargetNoEvents}==false|{isTargetToughSkin}==false|{isTargetFreshman}==false):true|false}}\n\n{=(isKillInfected):{all({canKill}==true|{isTargetInfected}==true):true|false}}\n\n{=(ImageExist):{all({HasRole}==true|{Deadcheck}==true|{isCooldown}==false|{isUserNoEvents}==false|{isTargetNoEvents}==false|{isTargetFreshman}==false):true|false}}\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{=(COMMENT):Command setup}\n{=(COMMENT):Kill.}\n{=(ActivateKill):temprole {target(id)} 1min {DRole}}\n{=(COMMENT):Sets the cooldown role on the user of the tag.}\n{=(Cooldown):temprole c {user(id)} {CDTime} +{cdRole}}\n\n{=(COMMENT):Set Roles for Cooldown. Updated so option to give }\n{=(CDRoles):{if({isKillInfected}==true):+{cdRole} + {InfectedRole}|+{cdRole}}}\n{=(COMMENT):Sets the cooldown role on the user of the tag.}\n{=(Cooldown):temprole c {user(id)} {CDTime} {CDRoles}}\n\n{=(COMMENT):Set up immunity time, Using Tough Skin Role Varies for booster and non booster}\n{=(TSTime):{if({isTargetBooster}==true):15m|10m}}\n{=(Immunity):temprole {target(id)} {TSTime} {TSRole}}\n{=(TSFormat):{replace(m, minutes):{TSTime}}} \n\n{=(COMMENT):Command execution}\n{=():}\n{=(COMMENT):Infects the target by transferring their role to them.}\n{{if({canKill}==true):c:{ActivateKill}}}\n{=(COMMENT):Sets the cooldown role on the user of the tag.}\n{{if({canKill}==true):c:{Cooldown}}}\n{=(COMMENT):Sets the Immunity role on the target of the tag.}\n{{if({canKill}==true):c:{Immunity}}}\n\n{=(COMMENT):Error messages configuration.}\n{=(msg.DeadExploit):⚠️ {user(mention)}, you cannot haunt the living!🪦👻}\n{=(msg.CommandFailed):⚠️ Unable to use to command due to not meeting conditions.}\n{=(msg.NoRequiredRoles):⚠️ <@&{TRexRole}> only. See the <#735320581645402202> description for details.}\n{=(msg.cd):⚠️ Stomach too <@&{cdRole}> to eat, wait {CDTime} from when command was used to use the command again, {user(mention)}!}\n{=(msg.UserNE):⚠️ {user(mention)}, you cannot use this command due to <@&{NERole}> :octagonal_sign: blocking the use of optional commands!}\n{=(msg.TargetNE):⚠️ Users with <@&{NERole}> :octagonal_sign: have opted out of optional commands.\nPlease select a different target,  {user(mention)}!}\n{=(msg.TargetFresh):⚠️ <@&{FRole}> are immune to optional commands since they are new members.\nPlease select a different target,  {user(mention)}!}\n{=(msg.TargetTS):{KillFailed1}\n{KillFailed2}\n{{Fail_Comment}}}\n\n{=(COMMENT):Setting up time Statement, used for the discord time messages}\n{=(COMMENT):Time for CD duration. does not know how to use the variable time {cooldown} in math, so have to do conversion directly}\n{=(COMMENT):CD Time for normal, used formula}\n{=(CDSeconds):{replace(h,*3600):{CDTime}}}\n{=(timeCD):{m:trunc({unix}+{CDSeconds})}}\n{=(COMMENT):Time for TS Duration, formula}\n{=(TSSeconds):{replace(m,*60):{TSTime}}}\n{=(timeTS):{m:trunc({unix}+{TSSeconds})}}\n\n{=(KillOutput):<:BloodMoon:656365681062707200> {target(mention)} is now <@&{DRole}> for __`1 minute`__ due to {mention} using the `{prefix}{tagName}` command in {channel(mention)}.}\n{=(CDOutput):<:BloodMoon:656365681062707200> {mention} is now on <@&{cdRole}> for __`{cdFormat}`__.\n⏰ Local time: <t:{timeCD}:f> aka <t:{timeCD}:R>.}\n{=(ImmunityOutput):<:BloodMoon:656365681062707200> {target(mention)} is now upgraded with <@&{TSRole}> for __`{TSFormat}`__.\n⏰ Local time: <t:{timeTS}:f> aka <t:{timeTS}:R>}\n\n{=(msg.Killed):{KillOutput}\n{CDOutput}\n{ImmunityOutput}}\n\n{=(InfectedFood):☣️ {target(mention)} was <@&{InfectedRole}> ☣️. By eating them, {user(mention)} is now <@&{InfectedRole}> ☣️ for __`{CDTime}`__.}\n{=(msg.InfectKill):{msg.Killed}\n{InfectedFood}}\n\n{=(COMMENT):Output management. Displays the message corresponding to the current situation. Adapts to the player's behavior.}\n{embed(title):🔪🔫 Kill Commands: Chomp 🪦}\n\n{embed(description):{if({isKillInfected}==true):{msg.InfectKill}|\n\t{if({isCooldown}==true):{msg.cd}|\n\t\t{if({HasRole}==false):{msg.NoRequiredRoles}|\n\t\t\t{if({isUserNoEvents}==true):{msg.UserNE}|\n\t\t\t\t{if({isTargetToughSkin}==true):{msg.TargetTS}|\n\t\t\t\t\t{if({isTargetNoEvents}==true):{msg.TargetNE}|\n\t\t\t\t\t\t{if({isTargetFreshman}==true):{msg.TargetFresh}|\n\t\t\t\t\t\t\t{if({canKill}==true):{msg.Killed}|\n\t\t\t\t\t\t\t\t{if({Deadcheck}==false):{msg.DeadExploit}|\n\t\t\t\t\t\t\t\t\t{msg.CommandFailed}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n}\n\n\n{=(Infected_Color):#00D10F}\n{=(Police_Role_Color):#1a7939}\n{=(TRex_Role_Color):#9b59b6}\n{=(Hybridgumi_Role_Color):#20bc93}\n{=(Dead_Role_Color):#070707}\n{=(BloodRedForFail):#880808}\n{=(Freshman_Role_Color):#9900cc}\n\n{=(KillColor):{{#:6|user(color)~4|target(color)~1|Police_Role_Color~1|TRex_Role_Color~1|Hybridgumi_Role_Color~1|Dead_Role_Color}}}\n{=(ErrorFreshman):{all({HasRole}==true|{isCooldown}==false|{isUserNoEvents}==false|{isTargetNoEvents}==false|{isTargetToughSkin}==false|{isTargetFreshman}==true):true|false}}\n\n{embed(color):{if({ErrorFreshman}==true):{Freshman_Role_Color}|{if({isKillInfected}==true):{Infected_Color}|{if({canKill}==true):{KillColor}|{BloodRedForFail}}}}}\n\n{=(COMMENT):Embed variable, since no section, answer so put it into the embed builder}\n\n{=(embed.footer):{prefix}{tagName} @target}\n{=(embed.image):{if({ImageExist}==true):{OutputImage}}}\n{embed.image}",
  "embed": "{\"color\": 5198940, \"image\": {\"url\": \"{embed.image}\"}, \"footer\": {\"text\": \"{embed.footer}\"}, \"description\": \"test\"}",
  "last_fetched": "2026-10-20T22:04:44.753Z"
}