fix(?) backslash crashing the vm [2]
This commit is contained in:
parent
71fea5523f
commit
6b67ec7777
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@ class HelperBot extends CollabVMClient {
|
||||||
if (username == this.GetUsername()) return;
|
if (username == this.GetUsername()) return;
|
||||||
|
|
||||||
if (message[0] === config.BOT_PREFIX) {
|
if (message[0] === config.BOT_PREFIX) {
|
||||||
this.HandleCommands(username, message.replaceAll("\\", "\\\\"));
|
this.HandleCommands(username, message.replaceAll("\\", "\\\\")); // thanks js
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue