Hotfix IngameChatListener
Dieser Commit ist enthalten in:
Ursprung
de606f7527
Commit
be5f5a033f
@ -50,6 +50,10 @@ public class IngameChatListener extends BasicDiscordListener {
|
||||
event.getMessage().delete().complete();
|
||||
return;
|
||||
}
|
||||
if (steamwarUser.isMuted() || steamwarUser.isBanned()) {
|
||||
event.getMessage().delete().complete();
|
||||
return;
|
||||
}
|
||||
ChatListener.discordChat(steamwarUser, event.getMessage().getContentDisplay().replaceAll("§[a-f0-9]", "").replace('\n', ' '));
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren