This commit is contained in:
lolcat 2024-04-07 18:55:43 -04:00
parent b82bb5c897
commit c704e2dfa0
1 changed files with 6 additions and 3 deletions

View File

@ -14,8 +14,8 @@ const emitter = require("events");
const deek = new emitter();
const name = "rena_chan";
const password = "rena";
const mc_password = "rena";
const password = "pass";
const mc_password = "pass";
const userid = 12;
var channels = [];
var ws = [];
@ -56,7 +56,10 @@ async function send_mc(username, message){
function mc_escape(str){
return str.replaceAll('"', '\"').replaceAll("\n", " ");
return str.replace(
/[^-!\"#$%&'()*+,.\/0123456789:;<=>?@[\\\]^_'abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø׃áíóúñѪº¿®¬½¼¡«» ]/gi,
""
);
}
/*