This commit is contained in:
parent
2ec0be4b84
commit
2131484c0a
|
@ -36,7 +36,7 @@ global.createMPPbridge = function createMPPbridge(room, DiscordChannelID, site =
|
|||
|
||||
|
||||
const gClient =
|
||||
site == "MPP" ? new Client((room.startsWith('lobby')||room.startsWith('test/'))?"ws://24.113.63.154:1234":"ws://530s.gq/mpp-proxy") :
|
||||
site == "MPP" ? new Client((room.startsWith('lobby')||(room.startsWith('test/')&&room!='test/awkward'))?"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.startsWith("lobby")||room.startsWith("test/"))) {
|
||||
if (site == "MPP") {
|
||||
//gClient.sendArray([{m: "userset", set: {name: "Anonymous" }}]);
|
||||
} else {
|
||||
gClient.sendArray([{m: "userset", set: {name: config.mppname }}]);
|
||||
|
|
Loading…
Reference in New Issue