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())