fix(?) backslash crashing the vm [2]

This commit is contained in:
mallory 2024-09-07 19:12:34 -04:00
parent 71fea5523f
commit 6b67ec7777

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.replaceAll("\\", "\\\\"));
this.HandleCommands(username, message.replaceAll("\\", "\\\\")); // thanks js
}
}