Search
Preparing search index...
The search index is not available
kbotify
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
kbotify
Index
Enumerations
Result
Types
Classes
App
Command
Base
Session
Base
User
Button
Event
Message
Card
Guild
Channel
Guild
Session
KBotify
Menu
Command
Private
Channel
Private
Session
Text
Message
Interfaces
App
Command
Params
Base
Data
Card
Object
Func
Result
Menu
Command
Params
Module
Object
Send
Options
Type aliases
App
Command
Func
App
Func
Channel
Theme
Variables
k
Botify
Logger
Functions
create
Session
init
Func
Result
Type aliases
App
Command
Func
App
Command
Func<T>
:
AppFunc
<
T
>
deprecated, please use appfunc
deprecated
Type parameters
T
:
BaseSession
=
BaseSession
App
Func
App
Func<T>
:
(
session
:
T
)
=>
Promise
<
FuncResult
<
any
>
|
ResultTypes
|
void
>
Type parameters
T
:
GuildSession
|
BaseSession
=
BaseSession
Type declaration
(
session
:
T
)
:
Promise
<
FuncResult
<
any
>
|
ResultTypes
|
void
>
Parameters
session:
T
Returns
Promise
<
FuncResult
<
any
>
|
ResultTypes
|
void
>
Channel
Channel
:
GuildChannel
|
PrivateChannel
Theme
Theme
:
"primary"
|
"success"
|
"warning"
|
"danger"
|
"info"
|
"secondary"
Variables
Const
k
Botify
Logger
k
Botify
Logger
:
Logger
= ...
Functions
Const
create
Session
create
Session
(
command
:
AppCommand
|
MenuCommand
, args
:
string
[]
, msg
:
TextMessage
|
ButtonEventMessage
, bot
?:
KBotify
)
:
GuildSession
|
BaseSession
Parameters
command:
AppCommand
|
MenuCommand
args:
string
[]
msg:
TextMessage
|
ButtonEventMessage
Optional
bot:
KBotify
Returns
GuildSession
|
BaseSession
init
Func
Result
init
Func
Result<T>
(
data
:
T
, resultType
?:
ResultTypes
, msgSent
?:
MessageCreateResponseInternal
)
:
FuncResult
Type parameters
T
Parameters
data:
T
Optional
resultType:
ResultTypes
Optional
msgSent:
MessageCreateResponseInternal
Returns
FuncResult
Exports
Result
Types
App
Command
Base
Session
Base
User
Button
Event
Message
Card
Guild
Channel
Guild
Session
KBotify
Menu
Command
Private
Channel
Private
Session
Text
Message
App
Command
Params
Base
Data
Card
Object
Func
Result
Menu
Command
Params
Module
Object
Send
Options
App
Command
Func
App
Func
Channel
Theme
k
Botify
Logger
create
Session
init
Func
Result
Generated using
TypeDoc
deprecated, please use appfunc