Add ANSI reset after a console message

This commit is contained in:
Vankka 2023-09-16 16:09:52 +03:00
parent 9e7f043c4e
commit 8e8e2b3dbf
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0

View File

@ -55,7 +55,7 @@ public class ConsoleMessage {
public String asAnsi() {
Component component = builder.build();
return discordSRV.componentFactory().ansiSerializer().serialize(component);
return discordSRV.componentFactory().ansiSerializer().serialize(component) + (ANSI_ESCAPE + "[0m");
}
public String asPlain() {