A manager of channels belonging to a client
Extends
CachedManager<Snowflake, Channel, ChannelResolvable>The cache of items for this manager.
Inherited from DataManagerThe client that instantiated this Manager
Inherited from BaseManagerThe data structure belonging to this manager.
Inherited from DataManagerObtains a channel from Discord, or the channel cache if it's already available.
Example
Name | Type | Optional | Description |
---|---|---|---|
id | Snowflake | No | The channel's id |
options | FetchChannelOptions | Yes | Additional options for this fetch |
Resolves a ChannelResolvable to a Channel object.
Name | Type | Optional | Description |
---|---|---|---|
channel | ChannelResolvable | No | The channel resolvable to resolve |
Resolves a ChannelResolvable to a channel id string.
Name | Type | Optional | Description |
---|---|---|---|
channel | ChannelResolvable | No | The channel resolvable to resolve |