cocoa-discord - v3.2.0
Preparing search index...
slash
CocoaSlash
Interface CocoaSlash
This interface represent a single slash command
interface
CocoaSlash
{
command
:
RESTPostAPIApplicationCommandsJSONBody
;
func
:
(
interaction
:
ChatInputCommandInteraction
)
=>
Promise
<
void
>
;
guild_ids
?:
string
[]
|
"Global"
;
long_description
?:
string
;
}
Index
Properties
command
func
guild_
ids?
long_
description?
Properties
command
command
:
RESTPostAPIApplicationCommandsJSONBody
func
func
:
(
interaction
:
ChatInputCommandInteraction
)
=>
Promise
<
void
>
Optional
guild_
ids
guild_ids
?:
string
[]
|
"Global"
Optional
long_
description
long_description
?:
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
command
func
guild_
ids
long_
description
cocoa-discord - v3.2.0
Loading...
This interface represent a single slash command