forked from ChomeNS/chomens-bot-java
f i x i t
This commit is contained in:
parent
8c9af15897
commit
f031c3dd02
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue