fix(?) backslash crashing the vm

This commit is contained in:
virginhostel 2024-09-07 19:05:22 -04:00
parent 888a4ef01c
commit bb30a52357

View file

@ -231,7 +231,7 @@ class HelperBot extends CollabVMClient {
if (username == this.GetUsername()) return;
if (message[0] === config.BOT_PREFIX) {
this.HandleCommands(username, message);
this.HandleCommands(username, message.replaceAll("\\", "\\\\")); // thanks js
}
}