Class: App
Constructors
constructor
• new App(options?
)
Parameters
Name | Type |
---|---|
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
Name | Type |
---|---|
__namedParameters | Object |
__namedParameters.clientId | string |
__namedParameters.commands? | Command [] |
__namedParameters.publicKey | null | string |
__namedParameters.token | string |
Returns
void
Defined in
packages/disploy/src/client/App.ts:38