detritus
On this page

Channels Collection

import { Collections } from 'detritus-client';

Collections.Channels;
BaseCollectionMixin<K, V>BaseCollection<K, V>BaseClientCollection<string, Channel>Channels
5 methods4 inheritedsrc/collections/channels.ts:20

Constructor

Properties

_guildChannelIds
Map<string, Set<string>>
readonly
enabled
boolean

Accessors

[toStringTag]
string
get
Overrides BaseClientCollection.[toStringTag]

Methods

getGuildChannels()

src/collections/channels.ts:75
getGuildChannels(guildId: string): Channel[]

The cached channels and threads of a guild (a new array, so deleting while going through it is fine)