From 31ea107bc7b737099b2023423aa28cbb20351c25 Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Tue, 25 Apr 2023 18:16:49 +0700 Subject: [PATCH] change stuff a bit --- .idea/workspace.xml | 26 +++++++++---------- .../chomens_bot/commands/HelpCommand.java | 2 +- .../commands/NetMessageCommand.java | 2 +- 3 files changed, 14 insertions(+), 16 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 79ef0d8..d4f602c 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,11 +4,9 @@ - @@ -483,7 +480,8 @@ - diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/HelpCommand.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/HelpCommand.java index 5966f91..7e495c3 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/HelpCommand.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/HelpCommand.java @@ -64,7 +64,7 @@ public class HelpCommand implements Command { .append(Component.text("(").color(NamedTextColor.DARK_GRAY)) .append(Component.text("Public ").color(NamedTextColor.GREEN)) .append(Component.text("Trusted ").color(NamedTextColor.RED)) - .append(Component.text("Owner").color(NamedTextColor.DARK_RED)) + .append(Component.text("Admin").color(NamedTextColor.DARK_RED)) .append(Component.text(") - ").color(NamedTextColor.DARK_GRAY)) .append(Component.join(JoinConfiguration.separator(Component.space()), list)); } diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/NetMessageCommand.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/NetMessageCommand.java index 31709c9..ea5da94 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/NetMessageCommand.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/commands/NetMessageCommand.java @@ -57,7 +57,7 @@ public class NetMessageCommand implements Command { .append(Component.text("Click here to copy the server host and port to your clipboard").color(NamedTextColor.GREEN)) ) ), - context.displayName().color(NamedTextColor.GRAY), + Component.text(context.sender().profile().getName()).color(NamedTextColor.GRAY), Component.text(String.join(" ", args)).color(NamedTextColor.GRAY) ).color(NamedTextColor.DARK_GRAY);