----[-->+++++<]>-.++.--.-[---->+<]>+++.---[->++<]>.-------.
cum pie it !!!!!
This commit is contained in:
Chayapak 2023-05-28 14:07:13 +07:00
parent 801ce9cbd2
commit 26ef63b176

View file

@ -8,6 +8,7 @@ import static land.chipmunk.chipmunkbot.plugins.CommandManager.literal;
import com.mojang.brigadier.CommandDispatcher; import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.context.CommandContext; import com.mojang.brigadier.context.CommandContext;
import net.kyori.adventure.text.Component; 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.NamedTextColor;
import net.kyori.adventure.text.format.TextColor; import net.kyori.adventure.text.format.TextColor;
import net.kyori.adventure.text.event.ClickEvent; 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(", ", TextColor.fromHexString(client.config().color().primary())))
.append(Component.text("chayapak", TextColor.fromHexString(client.config().color().secondary()))) .append(Component.text("chayapak", TextColor.fromHexString(client.config().color().secondary())))
.append(Component.text(" (").color(NamedTextColor.DARK_GRAY)) .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(")").color(NamedTextColor.DARK_GRAY))
.append(Component.text(" and contributors", NamedTextColor.GRAY)) .append(Component.text(" and contributors", NamedTextColor.GRAY))
.append(Component.newline()) .append(Component.newline())