This commit is contained in:
Lamp 2021-08-14 17:34:06 -07:00
parent d7e81475b8
commit d00ebe21f8
1 changed files with 1 additions and 1 deletions

View File

@ -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();