CoreClasses
CommandHandler
Extends
Base
Constructors
new CommandHandler()
new CommandHandler(
client
):CommandHandler
Parameters
Parameter | Type |
---|---|
client | Client |
Returns
Inherited from
Base.constructor
Properties
Property | Type | Inherited from |
---|---|---|
client | Client | Base.client |
Methods
handleAutocompleteInteraction()
handleAutocompleteInteraction(
rawInteraction
):Promise
<false
|void
>
Parameters
Parameter | Type |
---|---|
rawInteraction | APIApplicationCommandAutocompleteInteraction |
Returns
Promise
<false
| void
>
handleCommandInteraction()
handleCommandInteraction(
rawInteraction
):Promise
<false
|void
>
Internal
Handle a command interaction
Parameters
Parameter | Type |
---|---|
rawInteraction | APIApplicationCommandInteraction |
Returns
Promise
<false
| void
>