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

Used to leave text channels, group dms, or dms.

Parameters

optional
timeout: number
  • asynchronously join channel with time to wait before timing out

Returns

Promise<void>