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

Used to join a new lobby.

Parameters

lobbyId: string
  • the id of the lobby to join
data: string
  • additional data to send to lobby

Returns

Promise<Lobby>

the lobby that the user joined