Skip to main content

Class: App

Constructors

constructor

new App(options?)

Parameters

NameType
options?AppOptions

Defined in

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

Properties

_commandBuffer

Private _commandBuffer: Command[] = []

Defined in

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


channels

channels: ChannelManager

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: null | 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


user

user: ToBeFetched<User>

Defined in

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


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.publicKeynull | string
__namedParameters.tokenstring

Returns

void

Defined in

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