Skip to main content
Go to Latest
method ClientUser.prototype.fetchChannels
import { ClientUser } from "https://deno.land/x/discord_rpc_deno@v1.0.17/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