-
Notifications
You must be signed in to change notification settings - Fork 0
Creating and managing lobbies
dysolix edited this page Apr 19, 2024
·
1 revision
await client.request("post", "/lol-lobby/v2/lobby", {
body: {
queueId: 420
} as any
});
await client.request("post", "/lol-lobby/v2/lobby", {
body: {
isCustom: true,
customGameLobby: {
lobbyName: "...",
configuration: {
mapId: 11,
gameMode: "CLASSIC",
mutators: {
id: 6 // This controls the pick mode. Valid values: 1 -> Blind pick 2 -> Draft pick 4 -> All random 6 -> Tournament draft
},
spectatorPolicy: "AllAllowed",
teamSize: 5
}
}
} as any
});
```