Archiviert
1
0

Fix IngameChatListener once again

Dieser Commit ist enthalten in:
yoyosource 2021-07-30 12:32:36 +02:00
Ursprung 82a67448f3
Commit 65d5653e78

Datei anzeigen

@ -62,7 +62,7 @@ public class IngameChatListener extends BasicDiscordListener {
TextChannel textChannel = SteamwarDiscordBot.instance().getJda().getGuildById(SteamwarDiscordBotConfig.GUILD).getTextChannelById(SteamwarDiscordBotConfig.INGAME_CHANNEL);
assert textChannel != null;
MessageBuilder messageBuilder = new MessageBuilder();
messageBuilder.append(message.replace("&", "").replace("@everyone", "").replace("@here", ""));
messageBuilder.append(message.replace("&", "").replace("@everyone", "`@everyone`").replace("@here", "`@here`"));
textChannel.sendMessage(messageBuilder.build()).complete();
}
}