From f031c3dd022517f9384e02e6cb6a91eb2759b1f0 Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Tue, 28 Mar 2023 17:58:08 +0700 Subject: [PATCH] f i x i t --- .../chayapak/chomens_bot/plugins/DiscordPlugin.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/DiscordPlugin.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/DiscordPlugin.java index bf6201a..6dd5cea 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/DiscordPlugin.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/DiscordPlugin.java @@ -157,7 +157,11 @@ public class DiscordPlugin { "[%s] %s › %s%s", discordComponent, nameComponent, - Component.text(message.replace("\uD83D", "☠") /* mirko forced me to do it :( */).color(NamedTextColor.GRAY), + Component.text( + message + .replace("\uD83D\uDC80", "☠") /* mirko forced me to do it :( */ + .replace("\uD83D", "☠") + ).color(NamedTextColor.GRAY), attachmentsComponent ).color(NamedTextColor.DARK_GRAY); bot.chat().tellraw(component);