fetchGuildCategory

async fetchGuildCategory(channelId: string) Promise<GuildCategory | null>

Fetches a guild category, or null when the channel has another type or does not exist.

Parameters:
  • channelId — – The channel ID to fetch.