Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method ClientUser.prototype.createLobby
import { ClientUser } from "https://deno.land/x/discord_rpc_deno@v1.0.17/src/structures/ClientUser.ts";

Create a new lobby

Parameters

type: LobbyType
  • lobby type
optional
capacity: number
  • lobby size
optional
locked: boolean
  • is lobby locked
optional
metadata: any
  • additional data?

Returns

Promise<Lobby>

lobby that user created