Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discord_rpc_deno/src/structures/Lobby.ts>Lobby

port of @xhayper/discord-rpc to deno
Go to Latest
class Lobby
extends Base
import { Lobby } from "https://deno.land/x/discord_rpc_deno@1.0.8/src/structures/Lobby.ts";

Constructors

new
Lobby(client: Client, props: Record<string, any>)

Properties

application_id: string
capacity: number
id: string
locked: boolean
members: { metadata: any; user: User; }[]
metadata: any
owner_id: string
region: string
secret: string
type: LobbyType
voice_states: GatewayVoiceState

Methods

delete(): Promise<void>
disconnect(): Promise<void>
joinVoice(): Promise<void>
leaveVoice(): Promise<void>
update(
type?: LobbyType,
owner_id?: string,
capacity?: number,
locked?: boolean,
metadata?: any,
): Promise<void>
updateMember(userId: string, metadata?: any): Promise<void>