Skip to main content

Class: App

Constructors

constructor

new App(options?)

Parameters

NameType
options?AppOptions

Defined in

packages/disploy/src/client/App.ts:27

Properties

_commandBuffer

Private _commandBuffer: Command[] = []

Defined in

packages/disploy/src/client/App.ts:25


channels

channels: StructureManager<Channel>

Defined in

packages/disploy/src/client/App.ts:23


clientId

clientId: string

Defined in

packages/disploy/src/client/App.ts:13


commands

commands: CommandManager

Defined in

packages/disploy/src/client/App.ts:18


guilds

guilds: StructureManager<Guild>

Defined in

packages/disploy/src/client/App.ts:22


logger

logger: Logger

Defined in

packages/disploy/src/client/App.ts:17


publicKey

publicKey: string

Defined in

packages/disploy/src/client/App.ts:12


rest

rest: Rest

Defined in

packages/disploy/src/client/App.ts:16


router

router: Router

Defined in

packages/disploy/src/client/App.ts:14


token

token: string

Defined in

packages/disploy/src/client/App.ts:15


users

users: StructureManager<User>

Defined in

packages/disploy/src/client/App.ts:21

Methods

start

start(__namedParameters): void

Parameters

NameType
__namedParametersObject
__namedParameters.clientIdstring
__namedParameters.commands?Command[]
__namedParameters.publicKeystring
__namedParameters.tokenstring

Returns

void

Defined in

packages/disploy/src/client/App.ts:35