This commit is contained in:
parent
d7e81475b8
commit
d00ebe21f8
|
@ -46,7 +46,7 @@ global.createMPPbridge = function createMPPbridge(room, DiscordChannelID, site =
|
||||||
site == "YFLV" ? new Client("wss://mpp.yourfriend.lv/ws") :
|
site == "YFLV" ? new Client("wss://mpp.yourfriend.lv/ws") :
|
||||||
undefined;
|
undefined;
|
||||||
if (!gClient) return console.error(`Invalid site ${site}`);
|
if (!gClient) return console.error(`Invalid site ${site}`);
|
||||||
if (site == "MPP") gClient.token = config.mpp_token;
|
if (site == "MPP") gClient.token = config.mpc_token;
|
||||||
gClient.setChannel(/*(site == "MPP" && room == "lobby") ? "lolwutsecretlobbybackdoor" : */room, {visible:false});
|
gClient.setChannel(/*(site == "MPP" && room == "lobby") ? "lolwutsecretlobbybackdoor" : */room, {visible:false});
|
||||||
gClient.start();
|
gClient.start();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue