class ChannelManager

export class ChannelManager extends CachedManager<Snowflake, Channel, ChannelResolvable>

A manager of channels belonging to a client

The cache of Channels

client : Client

The client that instantiated this Manager

holds : Constructable<Holds>

The data structure belonging to this manager.

Inherited from: DataManager

Obtains a channel from Discord, or the channel cache if it's already available.

// Fetch a channel by its id
  .then(channel => console.log(

resolve() : BaseChannel

Resolves a ChannelResolvable to a Channel object.

resolveId() : Snowflake

Resolves a ChannelResolvable to a channel id string.

valueOf() : Collection<Key, Holds>

Inherited from: DataManager