wc.fetchGuildChannel() - shysolocup/willclient GitHub Wiki
- 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)