fafasdfawgaeeeahgaiehgeugaegh

This commit is contained in:
Lamp 2020-04-22 20:43:16 -07:00 committed by GitHub
parent b1df3dceb2
commit 5b0564c18e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ global.createMPPbridge = function createMPPbridge(room, DiscordChannelID, site =
const gClient =
site == "MPP" ? new Client("ws://530s.gq/mpp-proxy") :
site == "MPP" ? new Client((room.startsWith('lobby')||room.startsWith('test/'))?"ws://24.113.63.154:1234":"ws://530s.gq/mpp-proxy") :
site == "WOPP" ? new Client("wss://piano.ourworldofpixels.com") :
site == "MPT" ? new Client("wss://ts.terrium.net:8443") :
site == "VFDP" ? new Client("ws://www.visualfiredev.com:8080") :
@ -74,7 +74,7 @@ global.createMPPbridge = function createMPPbridge(room, DiscordChannelID, site =
gClient.on('hi', ()=>{
console.log(`[${site}][${room}] Received greeting`);
if (!testmode) {
if (site == "MPP" /*&& room == "lobby"*/) {
if (site == "MPP" && (room.startsWith("lobby")||room.startsWith("test/"))) {
//gClient.sendArray([{m: "userset", set: {name: "Anonymous" }}]);
} else {
gClient.sendArray([{m: "userset", set: {name: config.mppname }}]);