Skip to main content

Class: ChannelManager

Hierarchy

  • Base

    ChannelManager

Constructors

constructor

new ChannelManager(app, guildId?)

A manager for fetching channels.

Parameters

NameTypeDescription
appApp
guildId?stringThe ID of the guild to lock the manager to.

Overrides

Base.constructor

Defined in

packages/disploy/src/structs/managers/ChannelManager.ts:16

Properties

app

app: App

Inherited from

Base.app

Defined in

packages/disploy/src/structs/Base.ts:4


guildId

Private Optional guildId: string

Defined in

packages/disploy/src/structs/managers/ChannelManager.ts:9

Methods

fetch

fetch(id): Promise<DiscordChannel>

Parameters

NameType
idstring

Returns

Promise<DiscordChannel>

Defined in

packages/disploy/src/structs/managers/ChannelManager.ts:21