SlashCommandModule
class
SlashCommandModule
sourceexport abstract class SlashCommandModule implements SlashCommandModule export abstract class SlashCommandModule implements SlashCommandModuleexecute(data: SlashCommand.ExecuteData): Promise<void> execute(data: SlashCommand.ExecuteData): Promise<void>| Param | Type | Required |
|---|---|---|
| | Yes |
Returns:
Promise<void> Promise<void>from(data: SlashCommandModule.Resolvable): SlashCommandModule from(data: SlashCommandModule.Resolvable): SlashCommandModule| Param | Type | Required |
|---|---|---|
| | Yes |
Returns:
SlashCommandModule SlashCommandModulepublic source
.moduleType
ModuleType.Command ModuleType.CommandSlashCommandBuilder.Data SlashCommandBuilder.Data