Teleforge API Reference - v0.1.0
Preparing search index...
bot/src
BotCommandDefinition
Interface BotCommandDefinition
interface
BotCommandDefinition
{
command
:
string
;
description
?:
string
;
handler
:
|
CommandHandler
|
(
(
ctx
:
CommandContext
,
)
=>
|
void
|
GeneratedCommandResponse
|
Promise
<
void
|
GeneratedCommandResponse
>
)
;
}
Index
Properties
command
description?
handler
Properties
command
command
:
string
Optional
description
description
?:
string
handler
handler
:
|
CommandHandler
|
(
(
ctx
:
CommandContext
,
)
=>
|
void
|
GeneratedCommandResponse
|
Promise
<
void
|
GeneratedCommandResponse
>
)
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
command
description
handler
Teleforge API Reference - v0.1.0
Loading...