geforkt von SteamWar/BungeeCore
Hotfix at mentions in Discord
Dieser Commit ist enthalten in:
Ursprung
8d6f40601c
Commit
4f83b67cab
@ -44,7 +44,7 @@ public class IngameChatListener extends BasicDiscordListener {
|
||||
if (steamwarUser == null || event.getMessage().getContentRaw().length() > 250) {
|
||||
event.getMessage().delete().complete();
|
||||
} else {
|
||||
ChatListener.discordChat(steamwarUser, event.getMessage().getContentRaw().replaceAll("§[a-f0-9]", "").replace('\n', ' '));
|
||||
ChatListener.discordChat(steamwarUser, event.getMessage().getContentDisplay().replaceAll("§[a-f0-9]", "").replace('\n', ' '));
|
||||
}
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren