diff --git a/src/main/java/xyz/nucleoid/extras/integrations/relay/ChatRelayIntegration.java b/src/main/java/xyz/nucleoid/extras/integrations/relay/ChatRelayIntegration.java index 9b159e2..d41b286 100644 --- a/src/main/java/xyz/nucleoid/extras/integrations/relay/ChatRelayIntegration.java +++ b/src/main/java/xyz/nucleoid/extras/integrations/relay/ChatRelayIntegration.java @@ -78,9 +78,7 @@ private static ChatMessage parseMessage(JsonObject body) { } private static String parseUserId(JsonObject user) { - var name = user.get("name").getAsString(); - int discriminator = user.get("discriminator").getAsInt(); - return name + "#" + String.format("%04d", discriminator); + return user.get("name").getAsString(); } @NotNull