ReadonlycacheStaticdefaultShared default max size for all managers (can be changed globally).
Creates a new channel in the server.
Options for creating the channel.
Optionaldescription?: stringOptionaltype?: "Text" | "Voice"A promise that resolves to the created channel.
fetch a channel from the server
The channel to fetch. Can be a string, a channel object, or an API channel object.
Whether to force fetch the channel from the API. Defaults to true. If set to false, the method will return the channel from the cache if it exists.
A promise that resolves to the fetched channel
Adjust the maximum size for this manager at runtime.
Insertion ordered cache of items this manager holds.