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

Used to join a new lobby.

Parameters

lobbyId: string
  • the id of the lobby to join
secret: string
  • the secret of the lobby to join

Returns

Promise<Lobby>

the lobby that the user joined