Class: App
Constructors
constructor
• new App(options?
)
Parameters
Name | Type |
---|---|
options? | AppOptions |
Defined in
packages/disploy/src/client/App.ts:60
Properties
channels
• channels: ChannelManager
Defined in
packages/disploy/src/client/App.ts:50
clientId
• clientId: string
= 'not-ready'
Defined in
packages/disploy/src/client/App.ts:39
commands
• commands: CommandManager
Defined in
packages/disploy/src/client/App.ts:54
env
• env: Map
<string
, string
>
Defined in
packages/disploy/src/client/App.ts:41
guilds
• guilds: StructureManager
<Guild
>
Defined in
packages/disploy/src/client/App.ts:49
handlers
• handlers: MessageComponentManager
Defined in
packages/disploy/src/client/App.ts:55
initOptions
• Private
initOptions: Required
<AppOptions
>
Defined in
packages/disploy/src/client/App.ts:37
logger
• logger: Logger
Defined in
packages/disploy/src/client/App.ts:44
messages
• messages: MessageManager
Defined in
packages/disploy/src/client/App.ts:51
publicKey
• publicKey: string
= 'not-ready'
Defined in
packages/disploy/src/client/App.ts:40
rest
• rest: Rest
Defined in
packages/disploy/src/client/App.ts:46
router
• router: Router
Defined in
packages/disploy/src/client/App.ts:45
token
• token: string
= 'not-ready'
Defined in
packages/disploy/src/client/App.ts:38
user
• user: ToBeFetched
<User
>
Defined in
packages/disploy/src/client/App.ts:58
users
• users: StructureManager
<User
>
Defined in
packages/disploy/src/client/App.ts:48
Methods
_populateEnv
▸ Private
_populateEnv(env
): void
Parameters
Name | Type |
---|---|
env | Record <string , string > |
Returns
void
Defined in
packages/disploy/src/client/App.ts:103
start
▸ start(options
): void
Parameters
Name | Type |
---|---|
options | StartAppOptions |
Returns
void
Defined in
packages/disploy/src/client/App.ts:81