Skip to content

wc.fetchGuildChannel()

paige edited this page Aug 28, 2023 · 3 revisions
  • Description: Fetches a guild's channel by ID or mention

Parameters

  • ID/Mention String: Channel ID or mention to fetch
  • ?Guild Guild: Guild to fetch the user from (defaults to the guild it was used in)

Setup

await wc.fetchGuildChannel("Channel ID")

await wc.fetchGuildChannel("Channel ID", Guild)

await wc.fetchGuildChannel("<#Channel ID>")

await wc.fetchGuildChannel("<#Channel ID>", Guild)
Clone this wiki locally