Class: ChannelManager
Hierarchy
Base
↳
ChannelManager
Constructors
constructor
• new ChannelManager(app
, guildId?
)
A manager for fetching channels.
Parameters
Name | Type | Description |
---|---|---|
app | App | |
guildId? | string | The 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
Name | Type |
---|---|
id | string |
Returns
Promise
<DiscordChannel
>
Defined in
packages/disploy/src/structs/managers/ChannelManager.ts:21