Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
method ClientUser.prototype.fetchChannels
import { ClientUser } from "https://deno.land/x/discord_rpc_deno@1.0.11/src/structures/ClientUser.ts";

Used to get a guild's channels the client is in.

Parameters

guildId: string
  • id of the guild to get channels for

Returns

Promise<Channel>

guild channels the user is in