Skip to main content
Module

x/discord_rpc_deno/mod.ts>ClientUser#connectToLobby

port of @xhayper/discord-rpc to deno
Go to Latest
method ClientUser.prototype.connectToLobby
Re-export
import { ClientUser } from "https://deno.land/x/discord_rpc_deno@v1.0.17/mod.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