From 26ef63b176781ffd3f5914c07664c31995628787 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Sun, 28 May 2023 14:07:13 +0700 Subject: [PATCH] yes ----[-->+++++<]>-.++.--.-[---->+<]>+++.---[->++<]>.-------. cum pie it !!!!! --- .../chipmunk/chipmunkbot/commands/InfoCommand.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/main/java/land/chipmunk/chipmunkbot/commands/InfoCommand.java b/src/main/java/land/chipmunk/chipmunkbot/commands/InfoCommand.java index 45a978a..e1800be 100644 --- a/src/main/java/land/chipmunk/chipmunkbot/commands/InfoCommand.java +++ b/src/main/java/land/chipmunk/chipmunkbot/commands/InfoCommand.java @@ -8,6 +8,7 @@ import static land.chipmunk.chipmunkbot.plugins.CommandManager.literal; import com.mojang.brigadier.CommandDispatcher; import com.mojang.brigadier.context.CommandContext; import net.kyori.adventure.text.Component; +import net.kyori.adventure.text.event.HoverEvent; import net.kyori.adventure.text.format.NamedTextColor; import net.kyori.adventure.text.format.TextColor; import net.kyori.adventure.text.event.ClickEvent; @@ -48,7 +49,16 @@ public class InfoCommand { .append(Component.text(", ", TextColor.fromHexString(client.config().color().primary()))) .append(Component.text("chayapak", TextColor.fromHexString(client.config().color().secondary()))) .append(Component.text(" (").color(NamedTextColor.DARK_GRAY)) - .append(Component.text("<3").color(NamedTextColor.RED)) + .append( + Component + .text("<3") + .color(NamedTextColor.RED) + .hoverEvent( + HoverEvent.showText( + Component.text("y e s :)") + ) + ) + ) .append(Component.text(")").color(NamedTextColor.DARK_GRAY)) .append(Component.text(" and contributors", NamedTextColor.GRAY)) .append(Component.newline())