Skip to main content
Module

x/discord_rpc_deno/mod.ts>ClientUser#selectVoiceChannel

port of @xhayper/discord-rpc to deno
Go to Latest
method ClientUser.prototype.selectVoiceChannel
Re-export
import { ClientUser } from "https://deno.land/x/discord_rpc_deno@1.0.13/mod.ts";

Used to join voice channels, group dms, or dms. Returns the Get Channel response, null if none.

Parameters

channelId: string
  • channel id to join
optional
timeout: number
  • asynchronously join channel with time to wait before timing out
optional
force: boolean
  • forces a user to join a voice channel

Returns

Promise<Channel>

the channel that the user joined, null if none