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

Used to leave voice channels, group dms, or dms

Parameters

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<void>