cure
Private
Content
260 lines{=(COMMENT):Rev 07: 2025-10-08 Updated to be used for Infection Game Event, also update CD system. moved cd section below the can cure}
{=(COMMENT):Rev 06: 2025-08-21 Added channel check to prevent commands to be used in clinic channel}
{=(COMMENT):Rev 05: 2023-09-08 Switching Police role, from 632848133465964554 to 1149595257277775904}
{=(COMMENT):Rev 04: 20230613 Updating command with new roles, fixing Zekor issues}
{=(COMMENT):Rev 03: Added images, Accounting for Feral system}
{=(COMMENT):General configuration note command has been revised to fix for beastflu}
{=(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):cure}
{=(COMMENT):Roles IDs}
{=(COMMENT):898436868293685259 is the Cool down role iD}
{=(cdRole):898436868293685259}
{=(COMMENT):913619173517705286 is the Infected role that adds the symbol. noted role is infected with beastflu, as the permanent command}
{=(InfectedRole):913619173517705286}
{=(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):1149595257277775904 is the Mod role, aka Police}
{=(PRole):1149595257277775904}
{=(COMMENT):is 824746693286297631 is the Clinic Assistant Role}
{=(CRole):824746693286297631}
{=(COMMENT):898435578780074056 is the [No Events] Role, which requested not to participate in any server events.}
{=(NERole):898435578780074056}
{=(COMMENT):Put below the role ID that all the bots in your server have. It will be used to ensure no member tries to infect bots, as they can't infect anybody after that, obviously.}
{=(botRole):632848061185392651}
{=(COMMENT):920543040966393906 is the Young Beastars role, reward for Leaderboard}
{=(YBRole):920543040966393906}
{=(COMMENT):1171271428281212948 is AciveRole, Aka Month'sRegular, used to indicate if someone is active.}
{=(AciveRole):1171271428281212948}
{=(COMMENT):920543040966393906 is SuperAciveRole, Aka Month'sActiveRgular, used to indicate if someone is active.}
{=(SuperAciveRole):920543040966393906}
{=(COMMENT):689696613597315079 is the dead role, Joke Mute Role}
{=(DRole):689696613597315079}
{=(COMMENT):1118355162503852163 is the Feral role, the 3rd status role}
{=(FeralRole):1118355162503852163}
{=(COMMENT):1118355182896545822 is one of the icon role for Feral Status,A}
{=(FeralA):1118355182896545822}
{=(COMMENT):1118355183789948939 is one of the icon role for Feral Status,B}
{=(FeralB):1118355183789948939}
{=(COMMENT):1118355190324674582 is one of the icon role for Feral Status,C}
{=(FeralC):1118355190324674582}
{=(COMMENT):1118355196125401189 is one of the icon role for Feral Status,D}
{=(FeralD):1118355196125401189}
{=(COMMENT):1118355536862249071 is one of the icon role for Feral Status,E}
{=(FeralE):1118355536862249071}
{=(FeralIcon):-{FeralA} -{FeralB} -{FeralC} -{FeralD} -{FeralE}}
{=(COMMENT):1425569438161174629 is the October 2025 EventInfected role that adds the symbol. This is not the Beastflu / regular event}
{=(EventInfectedRole):1425569438161174629}
{=(COMMENT):899360050127208489 is the Immunity role, obtained via cure command, For the Infect command / October 2025 EventInfected}
{=(ImmuneRole):899360050127208489}
{=(COMMENT):Channel IDs}
{=(COMMENT):632846449117364234 Clinic / Venting channel, the Channel command should not use command in}
{=(VentingChannel):632846449117364234}
{=(COMMENT):Checks The channel command is used in.}
{=(atVentingChannel):{if({channel(id)}=={VentingChannel}):true|false}}
{=(COMMENT):Conditional checks}
{=(COMMENT):Checks if the user has any of the required roles}
{=(COMMENT):Checks if the user is Young Beastar.}
{=(isYB):{contains({YBRole}):{user(roleids)}}}
{=(COMMENT):Checks if the user is T-Rex.}
{=(isTRex):{contains({TRexRole}):{user(roleids)}}}
{=(COMMENT):Checks if the user is Police, aka Mod}
{=(isPolice):{contains({PRole}):{user(roleids)}}}
{=(COMMENT):Checks if the user is Hybridgumi .}
{=(isHybridgumi):{contains({HRole}):{user(roleids)}}}
{=(COMMENT):Checks if the user Booster.}
{=(isBooster):{contains({BRole}):{user(roleids)}}}
{=(COMMENT):Checks if the user Clinic Staff.}
{=(isClinic):{contains({CRole}):{user(roleids)}}}
{=(COMMENT):Checks has any of the above roles}
{=(HasRole):{any({isTRex}==true|{isYB}==true|{isPolice}==true|{isHybridgumi}==true|{isBooster}==true|{isClinic}==true):true|false}}
{=(COMMENT):Other role check, used for cooldown}
{=(COMMENT):Checks if the user is T-Rex.}
{=(isTRex):{contains({TRexRole}):{user(roleids)}}}
{=(COMMENT):Checks if the user Booster.}
{=(isBooster):{contains({BRole}):{user(roleids)}}}
{=(COMMENT):Checks if the user AciveRole.}
{=(isActive):{contains({AciveRole}):{user(roleids)}}}
{=(COMMENT):Checks if the user AciveRole.}
{=(isSuperActive):{contains({SuperAciveRole}):{user(roleids)}}}
{=(COMMENT):Checks if the user is Young Beastar. Reward role for 1st place of all Leaderboard}
{=(isYB):{contains({YBRole}):{user(roleids)}}}
{=(COMMENT):Checks if the user is on cooldown.}
{=(isCooldown):{contains({cdRole}):{user(roleids)}}}
{=(COMMENT):Checks if the user is currently has no event role.}
{=(isUserNERole):{contains({NERole}):{user(roleids)}}}
{=(COMMENT):Checks if the mentioned target has no events role, thus does not want to participate in any events}
{=(isTargetNERole):{contains({NERole}):{target(roleids)}}}
{=(COMMENT):Checks if the mentioned target is already infected.}
{=(isTargetInfected):{contains({InfectedRole}):{target(roleids)}}}
{=(COMMENT):Checks if the mentioned target is already Dead.}
{=(isTargetDead):{contains({DRole}):{target(roleids)}}}
{=(COMMENT):Checks if the mentioned target is already feral.}
{=(isTargetFeral):{contains({FeralRole}):{target(roleids)}}}
{=(HasBadStatus):{any({isTargetInfected}==true|{isTargetDead}==true|{isTargetFeral}==true):true|false}}
{=(COMMENT):Checks if the mentioned target is already infected. This is the Event Check}
{=(isTargetEventInfected):{contains({EventInfectedRole}):{target(roleids)}}}
{=(HasBadStatus):{any({isTargetInfected}==true|{isTargetEventInfected}==true|{isTargetDead}==true|{isTargetFeral}==true):true|false}}
{=(COMMENT):Checks if the user can cure by meeting the proper conditions.}
{=(canCure):{all({HasRole}==true|{isCooldown}==false|{HasBadStatus}==true|{isUserNERole}==false|{isTargetNERole}==false|{atVentingChannel}==false):true|false}}
{=(canCureEvent):{all({canCure}==true|{isTargetEventInfected}==true):true|false}}
{=(COMMENT):Cooldown Check zone}
{=(COMMENT):72h = 4320m}
{=(CDTimeOriginal):4320m}
{=(COMMENT):Specialclass check to reduce timer. time in minutes}
{=(COMMENT):15h aka 900 minutes}
{=(CDSuperActive):{if({isSuperActive}==true):900|0}}
{=(COMMENT):9h aka 540 minutes}
{=(CDActive):{if({isActive}==true):540|0}}
{=(COMMENT):6h aka 360 minutes}
{=(CDYB):{if({isYB}==true):360|0}}
{=(COMMENT):12h aka 720 minutes}
{=(CDTRex):{if({isTRex}==true):720|0}}
{=(COMMENT):12h aka 720 minutes}
{=(CDBooster):{if({isBooster}==true):720|0}}
{=(CDMinutes):{replace(m,*1):{CDTimeOriginal}}}
{=(CDTimeMath):{m:trunc({CDMinutes}-{CDSuperActive}-{CDActive}-{CDYB}-{CDTRex}-{CDBooster})}}
{=(COMMENT):if Event, CD is reduce further}
{=(CDTimeEvent):{m:trunc({CDTimeMath}/3)}}
{=(COMMENT):if statement to determine which CDtime, if event apply}
{=(CDTime):{{if({isTargetEventInfected}==true):CDTimeEvent|CDTimeMath}}}
{=(CDTime):{CDTime}m}
{=(COMMENT):Formats the cooldown properly for outputs. Example: "15m" becomes "15 minutes".}
{=(cdFormat):{replace(m, minutes):{CDTime}}}
{=(COMMENT):Setting up time Statement}
{=(COMMENT):Time for CD duration. Does not know how to do change 12h to second manually, so changing it manually}
{=(COMMENT):CD Time for normal, used formula}
{=(CDSeconds):{replace(m,*60):{CDTime}}}
{=(timeCD):{m:trunc({unix}+{CDSeconds})}}
{=(COMMENT):Immune Check zone}
{=(ImmuneTime):9h}
{=(ImmuneSuperActive):{if({isSuperActive}==true):2|0}}
{=(ImmuneActive):{if({isActive}==true):1|0}}
{=(ImmuneYB):{if({isYB}==true):1|0}}
{=(ImmuneTRex):{if({isTRex}==true):1|0}}
{=(ImmuneBooster):{if({isBooster}==true):1|0}}
{=(ImmuneNumbers):{replace(h,*1):{ImmuneTime}}}
{=(ImmuneTimeMath):{m:trunc({ImmuneNumbers}+{ImmuneSuperActive}+{ImmuneActive}+{ImmuneYB}+{ImmuneTRex}+{ImmuneBooster})}}
{=(ImmuneTime):{ImmuneTimeMath}h}
{=(COMMENT):Formats the cooldown properly for outputs. Example: "15m" becomes "15 minutes".}
{=(ImmuneFormat):{replace(h, hours):{ImmuneTime}}}
{=(COMMENT):Setting up time Statement}
{=(COMMENT):CD Time for normal, used formula}
{=(ImmuneSeconds):{replace(s,*1):{replace(m,*60):{replace(h,*3600):{replace(d,*86400):{ImmuneTime}}}}}}
{=(timeImmune):{m:trunc({unix}+{ImmuneSeconds})}}
{=(COMMENT):Command execution}
{=():}
{=(COMMENT):Cure the target by removing the infected role role to them.}
{{if({canCure}==true):c:role c {target(id)} -{InfectedRole} -{DRole} -{FeralRole} {FeralIcon} -{EventInfectedRole}}}
{=(COMMENT):Sets the cooldown role on the user of the tag.}
{{if({canCure}==true):c:temprole {user(id)} {cdRole} {CDTime}}}
{=(COMMENT):Sets the cooldown role on the user of the tag.}
{{if({canCureEvent}==true):c:temprole c {target(id)} +{ImmuneRole} {ImmuneTime}}}
{=(COMMENT):Error messages configuration.}
{=(msg.CommandFailed):⚠️ Unable to use to command due to not meeting conditions.}
{=(msg.noRole):⚠️ Special command for <@&{TRexRole}>, <@&{BRole}> and <@&{YBRole}> only.}
{=(msg.cd):You need to wait {cdFormat} before you can cure someone else, {user(mention)}!}
{=(msg.HasBadStatus):{target(mention)} has no bad status. You can only cure people who are <@&{InfectedRole}>, <@&{DRole}> or <@&{FeralRole}>, {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.WrongChannel):⚠️ Wrong Channel {user(mention)}. Maybe you are looking for the Graveyard channel, aka <#738994710273720381>?
Discord may recommend this channel, but that not a valid reason}
{=(msg.didcure):<:Icon_Clinic:894636427764195388> {user(mention)}, you successfully cured {target(mention)}, removing all of their bad status!
<:Moon:655491828035878912> You'll have to wait __`{cdFormat}`__ before curing someone again.
⏰ Local time: <t:{timeCD}:f> aka <t:{timeCD}:R>.}
{=(msg.event):🧟 {target(mention)} is no longer <@&{EventInfectedRole}>.
❤️ With the cure, {target(mention)} is now <@&{ImmuneRole}> ☣️ for __`{ImmuneTime}`__.
-# aka immune from <@&{EventInfectedRole}>.
⏰ Local time: <t:{timeImmune}:f> aka <t:{timeImmune}:R>.}
{=(msg.EventCure):{msg.didcure}
{msg.event}}
{=(COMMENT):Output management. Displays the message corresponding to the current situation. Adapts to the player's behavior.}
{embed(title):<:Icon_Clinic:894636427764195388> <:Moon:655491828035878912> Cure All 🧪 🪦}
{=(COMMENT):Customizing title, standard or event title}
{=(StandardEmbedTitle):<:Icon_Clinic:894636427764195388> <:Moon:655491828035878912> Cure All 🧪 🪦}
{=(EventEmbedTitle):<:Icon_Clinic:894636427764195388> <:Moon:655491828035878912>🧪 /🇷/ <:Beastars_B:646550089807953945>eastars October 2025 Event: Infection Game☣🧟: Cure All 🧪 🪦}
{=(COMMENT):if statement to determine which CDtime, if event apply}
{=(EmbedTitle):{{if({isTargetEventInfected}==true):EventEmbedTitle|StandardEmbedTitle}}}
{embed(title):{EmbedTitle}}
{embed(description):{if({isUserNERole}==true):{msg.UserNE}|
{if({isTargetNERole}==true):{msg.TargetNE}|
{if({HasBadStatus}==false):{msg.HasBadStatus}|
{if({HasRole}==false):{msg.noRole}|
{if({isCooldown}==true):{msg.cd}|
{if({atVentingChannel}==true):{msg.WrongChannel}|
{if({canCureEvent}==true):{msg.EventCure}|
{msg.didcure}
}
}
}
}
}
}
}
}
{=(COMMENT):Sets the embed color Color}
{=(BloodRedForFail):#880808}
{=(CureColor):#FFFFFF}
{=(COMMENT):Sets the embed color to white for cure.}
{embed(color):{if({canCure}==true):{CureColor}|{BloodRedForFail}}}
{=(COMMENT):Avoids the bot's default outputs to only have our custom ones to display.}
{silent}
{=(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):Embed variable, since no section, answer so put it into the embed builder}
{=(embed.footer):{prefix}{tagName} @target}
{=(image):{#:2|https://imgur.com/ghyhh8K.gif~2|https://imgur.com/QQFcMhB.gif~2|https://imgur.com/SuBKCFG.gif~1|https://imgur.com/5DKeXOB.png~2|https://imgur.com/sHICZUo.png~2|https://imgur.com/8x4nkiz.png~1|https://imgur.com/IJV3Xda.gif~3|https://imgur.com/gIeDMfA.gif}}
{=(embed.image):{if({canCure}==true):{image}}}
{embed.image}Embed
1 line{"color": 13632027, "image": {"url": "{embed.image}"}, "title": "{embed.title}", "footer": {"text": "{embed.footer}"}, "description": "{embed.description}"}Raw JSON
{
"id": 1107629,
"created_at": "2021-10-15T05:05:06.000Z",
"tag_name": "cure",
"nsfw": false,
"owner_id": "237997099432542209",
"uses": 3817,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "",
"hidden": false,
"guild_id": "632804599979311144",
"sharer": "237997099432542209",
"content": "{=(COMMENT):Rev 07: 2025-10-08 Updated to be used for Infection Game Event, also update CD system. moved cd section below the can cure}\n{=(COMMENT):Rev 06: 2025-08-21 Added channel check to prevent commands to be used in clinic channel}\n{=(COMMENT):Rev 05: 2023-09-08 Switching Police role, from 632848133465964554 to 1149595257277775904}\n{=(COMMENT):Rev 04: 20230613 Updating command with new roles, fixing Zekor issues}\n{=(COMMENT):Rev 03: Added images, Accounting for Feral system}\n{=(COMMENT):General configuration note command has been revised to fix for beastflu}\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):cure}\n\n{=(COMMENT):Roles IDs}\n{=(COMMENT):898436868293685259 is the Cool down role iD}\n{=(cdRole):898436868293685259}\n{=(COMMENT):913619173517705286 is the Infected role that adds the symbol. noted role is infected with beastflu, as the permanent command}\n{=(InfectedRole):913619173517705286}\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):1149595257277775904 is the Mod role, aka Police}\n{=(PRole):1149595257277775904}\n{=(COMMENT):is 824746693286297631 is the Clinic Assistant Role}\n{=(CRole):824746693286297631}\n{=(COMMENT):898435578780074056 is the [No Events] Role, which requested not to participate in any server events.}\n{=(NERole):898435578780074056}\n{=(COMMENT):Put below the role ID that all the bots in your server have. It will be used to ensure no member tries to infect bots, as they can't infect anybody after that, obviously.}\n{=(botRole):632848061185392651}\n{=(COMMENT):920543040966393906 is the Young Beastars role, reward for Leaderboard}\n{=(YBRole):920543040966393906}\n{=(COMMENT):1171271428281212948 is AciveRole, Aka Month'sRegular, used to indicate if someone is active.}\n{=(AciveRole):1171271428281212948}\n{=(COMMENT):920543040966393906 is SuperAciveRole, Aka Month'sActiveRgular, used to indicate if someone is active.}\n{=(SuperAciveRole):920543040966393906}\n{=(COMMENT):689696613597315079 is the dead role, Joke Mute Role}\n{=(DRole):689696613597315079}\n{=(COMMENT):1118355162503852163 is the Feral role, the 3rd status role}\n{=(FeralRole):1118355162503852163}\n{=(COMMENT):1118355182896545822 is one of the icon role for Feral Status,A}\n{=(FeralA):1118355182896545822}\n{=(COMMENT):1118355183789948939 is one of the icon role for Feral Status,B}\n{=(FeralB):1118355183789948939}\n{=(COMMENT):1118355190324674582 is one of the icon role for Feral Status,C}\n{=(FeralC):1118355190324674582}\n{=(COMMENT):1118355196125401189 is one of the icon role for Feral Status,D}\n{=(FeralD):1118355196125401189}\n{=(COMMENT):1118355536862249071 is one of the icon role for Feral Status,E}\n{=(FeralE):1118355536862249071}\n\n{=(FeralIcon):-{FeralA} -{FeralB} -{FeralC} -{FeralD} -{FeralE}}\n\n\n\n\n{=(COMMENT):1425569438161174629 is the October 2025 EventInfected role that adds the symbol. This is not the Beastflu / regular event}\n{=(EventInfectedRole):1425569438161174629}\n{=(COMMENT):899360050127208489 is the Immunity role, obtained via cure command, For the Infect command / October 2025 EventInfected}\n{=(ImmuneRole):899360050127208489}\n\n\n\n{=(COMMENT):Channel IDs}\n{=(COMMENT):632846449117364234 Clinic / Venting channel, the Channel command should not use command in}\n{=(VentingChannel):632846449117364234}\n\n{=(COMMENT):Checks The channel command is used in.}\n{=(atVentingChannel):{if({channel(id)}=={VentingChannel}):true|false}}\n\n\n{=(COMMENT):Conditional checks}\n\n{=(COMMENT):Checks if the user has any of the required roles}\n{=(COMMENT):Checks if the user is Young Beastar.}\n{=(isYB):{contains({YBRole}):{user(roleids)}}}\n{=(COMMENT):Checks if the user is T-Rex.}\n{=(isTRex):{contains({TRexRole}):{user(roleids)}}}\n{=(COMMENT):Checks if the user is Police, aka Mod}\n{=(isPolice):{contains({PRole}):{user(roleids)}}}\n{=(COMMENT):Checks if the user is Hybridgumi .}\n{=(isHybridgumi):{contains({HRole}):{user(roleids)}}}\n{=(COMMENT):Checks if the user Booster.}\n{=(isBooster):{contains({BRole}):{user(roleids)}}}\n{=(COMMENT):Checks if the user Clinic Staff.}\n{=(isClinic):{contains({CRole}):{user(roleids)}}}\n\n{=(COMMENT):Checks has any of the above roles}\n{=(HasRole):{any({isTRex}==true|{isYB}==true|{isPolice}==true|{isHybridgumi}==true|{isBooster}==true|{isClinic}==true):true|false}}\n\n\n{=(COMMENT):Other role check, used for cooldown}\n{=(COMMENT):Checks if the user is T-Rex.}\n{=(isTRex):{contains({TRexRole}):{user(roleids)}}}\n{=(COMMENT):Checks if the user Booster.}\n{=(isBooster):{contains({BRole}):{user(roleids)}}}\n{=(COMMENT):Checks if the user AciveRole.}\n{=(isActive):{contains({AciveRole}):{user(roleids)}}}\n{=(COMMENT):Checks if the user AciveRole.}\n{=(isSuperActive):{contains({SuperAciveRole}):{user(roleids)}}}\n{=(COMMENT):Checks if the user is Young Beastar. Reward role for 1st place of all Leaderboard}\n{=(isYB):{contains({YBRole}):{user(roleids)}}}\n\n\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{=(isUserNERole):{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{=(isTargetNERole):{contains({NERole}):{target(roleids)}}}\n\n{=(COMMENT):Checks if the mentioned target is already infected.}\n{=(isTargetInfected):{contains({InfectedRole}):{target(roleids)}}}\n{=(COMMENT):Checks if the mentioned target is already Dead.}\n{=(isTargetDead):{contains({DRole}):{target(roleids)}}}\n{=(COMMENT):Checks if the mentioned target is already feral.}\n{=(isTargetFeral):{contains({FeralRole}):{target(roleids)}}}\n{=(HasBadStatus):{any({isTargetInfected}==true|{isTargetDead}==true|{isTargetFeral}==true):true|false}}\n{=(COMMENT):Checks if the mentioned target is already infected. This is the Event Check}\n{=(isTargetEventInfected):{contains({EventInfectedRole}):{target(roleids)}}}\n{=(HasBadStatus):{any({isTargetInfected}==true|{isTargetEventInfected}==true|{isTargetDead}==true|{isTargetFeral}==true):true|false}}\n\n{=(COMMENT):Checks if the user can cure by meeting the proper conditions.}\n{=(canCure):{all({HasRole}==true|{isCooldown}==false|{HasBadStatus}==true|{isUserNERole}==false|{isTargetNERole}==false|{atVentingChannel}==false):true|false}}\n\n\n\n{=(canCureEvent):{all({canCure}==true|{isTargetEventInfected}==true):true|false}}\n\n{=(COMMENT):Cooldown Check zone}\n{=(COMMENT):72h = 4320m}\n{=(CDTimeOriginal):4320m}\n{=(COMMENT):Specialclass check to reduce timer. time in minutes}\n{=(COMMENT):15h aka 900 minutes}\n{=(CDSuperActive):{if({isSuperActive}==true):900|0}}\n{=(COMMENT):9h aka 540 minutes}\n{=(CDActive):{if({isActive}==true):540|0}}\n{=(COMMENT):6h aka 360 minutes}\n{=(CDYB):{if({isYB}==true):360|0}}\n{=(COMMENT):12h aka 720 minutes}\n{=(CDTRex):{if({isTRex}==true):720|0}}\n{=(COMMENT):12h aka 720 minutes}\n{=(CDBooster):{if({isBooster}==true):720|0}}\n{=(CDMinutes):{replace(m,*1):{CDTimeOriginal}}}\n{=(CDTimeMath):{m:trunc({CDMinutes}-{CDSuperActive}-{CDActive}-{CDYB}-{CDTRex}-{CDBooster})}}\n{=(COMMENT):if Event, CD is reduce further}\n{=(CDTimeEvent):{m:trunc({CDTimeMath}/3)}}\n{=(COMMENT):if statement to determine which CDtime, if event apply}\n{=(CDTime):{{if({isTargetEventInfected}==true):CDTimeEvent|CDTimeMath}}}\n{=(CDTime):{CDTime}m}\n{=(COMMENT):Formats the cooldown properly for outputs. Example: \"15m\" becomes \"15 minutes\".}\n{=(cdFormat):{replace(m, minutes):{CDTime}}}\n\n{=(COMMENT):Setting up time Statement}\n{=(COMMENT):Time for CD duration. Does not know how to do change 12h to second manually, so changing it manually}\n{=(COMMENT):CD Time for normal, used formula}\n{=(CDSeconds):{replace(m,*60):{CDTime}}}\n{=(timeCD):{m:trunc({unix}+{CDSeconds})}}\n\n\n{=(COMMENT):Immune Check zone}\n{=(ImmuneTime):9h}\n{=(ImmuneSuperActive):{if({isSuperActive}==true):2|0}}\n{=(ImmuneActive):{if({isActive}==true):1|0}}\n{=(ImmuneYB):{if({isYB}==true):1|0}}\n{=(ImmuneTRex):{if({isTRex}==true):1|0}}\n{=(ImmuneBooster):{if({isBooster}==true):1|0}}\n{=(ImmuneNumbers):{replace(h,*1):{ImmuneTime}}}\n{=(ImmuneTimeMath):{m:trunc({ImmuneNumbers}+{ImmuneSuperActive}+{ImmuneActive}+{ImmuneYB}+{ImmuneTRex}+{ImmuneBooster})}}\n{=(ImmuneTime):{ImmuneTimeMath}h}\n{=(COMMENT):Formats the cooldown properly for outputs. Example: \"15m\" becomes \"15 minutes\".}\n{=(ImmuneFormat):{replace(h, hours):{ImmuneTime}}}\n\n\n{=(COMMENT):Setting up time Statement}\n{=(COMMENT):CD Time for normal, used formula}\n{=(ImmuneSeconds):{replace(s,*1):{replace(m,*60):{replace(h,*3600):{replace(d,*86400):{ImmuneTime}}}}}}\n{=(timeImmune):{m:trunc({unix}+{ImmuneSeconds})}}\n\n\n{=(COMMENT):Command execution}\n{=():}\n{=(COMMENT):Cure the target by removing the infected role role to them.}\n{{if({canCure}==true):c:role c {target(id)} -{InfectedRole} -{DRole} -{FeralRole} {FeralIcon} -{EventInfectedRole}}}\n\n{=(COMMENT):Sets the cooldown role on the user of the tag.}\n{{if({canCure}==true):c:temprole {user(id)} {cdRole} {CDTime}}}\n\n{=(COMMENT):Sets the cooldown role on the user of the tag.}\n{{if({canCureEvent}==true):c:temprole c {target(id)} +{ImmuneRole} {ImmuneTime}}}\n\n{=(COMMENT):Error messages configuration.}\n{=(msg.CommandFailed):⚠️ Unable to use to command due to not meeting conditions.}\n{=(msg.noRole):⚠️ Special command for <@&{TRexRole}>, <@&{BRole}> and <@&{YBRole}> only.}\n{=(msg.cd):You need to wait {cdFormat} before you can cure someone else, {user(mention)}!}\n{=(msg.HasBadStatus):{target(mention)} has no bad status. You can only cure people who are <@&{InfectedRole}>, <@&{DRole}> or <@&{FeralRole}>, {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\n{=(msg.WrongChannel):⚠️ Wrong Channel {user(mention)}. Maybe you are looking for the Graveyard channel, aka <#738994710273720381>?\nDiscord may recommend this channel, but that not a valid reason}\n\n{=(msg.didcure):<:Icon_Clinic:894636427764195388> {user(mention)}, you successfully cured {target(mention)}, removing all of their bad status!\n<:Moon:655491828035878912> You'll have to wait __`{cdFormat}`__ before curing someone again.\n⏰ Local time: <t:{timeCD}:f> aka <t:{timeCD}:R>.}\n\n{=(msg.event):🧟 {target(mention)} is no longer <@&{EventInfectedRole}>.\n❤️ With the cure, {target(mention)} is now <@&{ImmuneRole}> ☣️ for __`{ImmuneTime}`__.\n-# aka immune from <@&{EventInfectedRole}>.\n⏰ Local time: <t:{timeImmune}:f> aka <t:{timeImmune}:R>.}\n{=(msg.EventCure):{msg.didcure}\n{msg.event}}\n\n\n{=(COMMENT):Output management. Displays the message corresponding to the current situation. Adapts to the player's behavior.}\n{embed(title):<:Icon_Clinic:894636427764195388> <:Moon:655491828035878912> Cure All 🧪 🪦}\n\n{=(COMMENT):Customizing title, standard or event title}\n{=(StandardEmbedTitle):<:Icon_Clinic:894636427764195388> <:Moon:655491828035878912> Cure All 🧪 🪦}\n{=(EventEmbedTitle):<:Icon_Clinic:894636427764195388> <:Moon:655491828035878912>🧪 /🇷/ <:Beastars_B:646550089807953945>eastars October 2025 Event: Infection Game☣🧟: Cure All 🧪 🪦}\n{=(COMMENT):if statement to determine which CDtime, if event apply}\n{=(EmbedTitle):{{if({isTargetEventInfected}==true):EventEmbedTitle|StandardEmbedTitle}}}\n{embed(title):{EmbedTitle}}\n\n{embed(description):{if({isUserNERole}==true):{msg.UserNE}|\n\t{if({isTargetNERole}==true):{msg.TargetNE}|\n\t\t{if({HasBadStatus}==false):{msg.HasBadStatus}|\n\t\t\t{if({HasRole}==false):{msg.noRole}|\n\t\t\t\t{if({isCooldown}==true):{msg.cd}|\n\t\t\t\t\t{if({atVentingChannel}==true):{msg.WrongChannel}|\n\t\t\t\t\t\t{if({canCureEvent}==true):{msg.EventCure}|\t\t\t\t\t\t\n\t\t\t\t\t\t\t{msg.didcure}\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{=(COMMENT):Sets the embed color Color}\n{=(BloodRedForFail):#880808}\n{=(CureColor):#FFFFFF}\n{=(COMMENT):Sets the embed color to white for cure.}\n{embed(color):{if({canCure}==true):{CureColor}|{BloodRedForFail}}}\n\n{=(COMMENT):Avoids the bot's default outputs to only have our custom ones to display.}\n{silent}\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):Embed variable, since no section, answer so put it into the embed builder}\n{=(embed.footer):{prefix}{tagName} @target}\n\n{=(image):{#:2|https://imgur.com/ghyhh8K.gif~2|https://imgur.com/QQFcMhB.gif~2|https://imgur.com/SuBKCFG.gif~1|https://imgur.com/5DKeXOB.png~2|https://imgur.com/sHICZUo.png~2|https://imgur.com/8x4nkiz.png~1|https://imgur.com/IJV3Xda.gif~3|https://imgur.com/gIeDMfA.gif}}\n{=(embed.image):{if({canCure}==true):{image}}}\n{embed.image}",
"embed": "{\"color\": 13632027, \"image\": {\"url\": \"{embed.image}\"}, \"title\": \"{embed.title}\", \"footer\": {\"text\": \"{embed.footer}\"}, \"description\": \"{embed.description}\"}",
"last_fetched": "2026-10-20T17:48:39.395Z"
}