Class: App
Constructors
constructor
• new App(options?
)
Parameters
Name | Type |
---|---|
options? | AppOptions |
Defined in
packages/disploy/src/client/App.ts:33
Properties
_commandBuffer
• Private
_commandBuffer: Command
[] = []
Defined in
packages/disploy/src/client/App.ts:30
_handlerBuffer
• Private
_handlerBuffer: ButtonHandler
[] = []
Defined in
packages/disploy/src/client/App.ts:31
channels
• channels: ChannelManager
Defined in
packages/disploy/src/client/App.ts:25
clientId
• clientId: string
Defined in
packages/disploy/src/client/App.ts:14
commands
• commands: CommandManager
Defined in
packages/disploy/src/client/App.ts:19
guilds
• guilds: StructureManager
<Guild
>
Defined in
packages/disploy/src/client/App.ts:24
handlers
• handlers: MessageComponentManager
Defined in
packages/disploy/src/client/App.ts:20
logger
• logger: Logger
Defined in
packages/disploy/src/client/App.ts:18
publicKey
• publicKey: null
| string
Defined in
packages/disploy/src/client/App.ts:13
rest
• rest: Rest
Defined in
packages/disploy/src/client/App.ts:17
router
• router: Router
Defined in
packages/disploy/src/client/App.ts:15
token
• token: string
Defined in
packages/disploy/src/client/App.ts:16
user
• user: ToBeFetched
<User
>
Defined in
packages/disploy/src/client/App.ts:28
users
• users: StructureManager
<User
>
Defined in
packages/disploy/src/client/App.ts:23
Methods
_loadCommands
▸ Private
_loadCommands(commands
): void
Parameters
Name | Type |
---|---|
commands | undefined | Command [] |
Returns
void
Defined in
packages/disploy/src/client/App.ts:42
_loadHandlers
▸ Private
_loadHandlers(handlers
): void
Parameters
Name | Type |
---|---|
handlers | undefined | ButtonHandler [] |
Returns
void
Defined in
packages/disploy/src/client/App.ts:51
start
▸ start(__namedParameters
): void
Parameters
Name | Type |
---|---|
__namedParameters | Object |
__namedParameters.clientId | string |
__namedParameters.commands? | Command [] |
__namedParameters.handlers? | ButtonHandler [] |
__namedParameters.publicKey | null | string |
__namedParameters.token | string |
Returns
void
Defined in
packages/disploy/src/client/App.ts:60