From b1b6ce1959d177afd6d8caac12b55545a290af29 Mon Sep 17 00:00:00 2001 From: "Glitch (hello-express)" Date: Wed, 11 Mar 2020 20:18:17 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=86=F0=9F=9A=B6=20Checkpoint=20./serve?= =?UTF-8?q?r.js:9949330/415?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/server.js b/server.js index 9ed9105..99ff066 100644 --- a/server.js +++ b/server.js @@ -17,7 +17,10 @@ const client = new MPPClient("http://www.multiplayerpiano.com", undefined); client.start(); client.on("hi", () => { - client.sendArray([{m:'userset', set:{name:"dvdbot [dvd!help](by Hri7566)"}}]); + setTimeout(function() { + client.sendArray([{m:'userset', set:{name:"dvdbot [dvd!help](made by Hri7566)"}}]); + }) + client.setChannel("βœ§π“‘π“Ÿ π“‘π“Έπ“Έπ“Άβœ§"); }); @@ -29,6 +32,7 @@ var ctoggle = true; var cursormode = "dvd"; + client.on("a", (msg) => { let args = msg.a.split(' '); let cmd = args[0].toLowerCase(); @@ -93,6 +97,4 @@ var cursorupdate = setInterval(function() { } break; } - - -}, 25); \ No newline at end of file +}, 25);