fix(?) backslash crashing the vm
This commit is contained in:
parent
888a4ef01c
commit
bb30a52357
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue