Skip to main content
Module

x/discord_rpc_deno/mod.ts>ClientUser#selectTextChannel

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

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

Parameters

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

Returns

Promise<Channel | null>

the text channel that user joined