FetchChannelOptions

export interface FetchChannelOptions extends BaseFetchOptions
export interface FetchChannelOptions extends BaseFetchOptions
Options for fetching a channel from Discord
allowUnknownGuild?:boolean
Allows the channel to be returned even if the guild is not in cache, it will not be cached. Many of the properties and methods on the returned channel will throw errors
cache?:boolean
Whether to cache the fetched data if it wasn't already
Default value
true
Inherited from BaseFetchOptions
force?:boolean
Whether to skip the cache check and request the API
Inherited from BaseFetchOptions