Interface CommandFileProps
interface CommandFileProps { data: Command; guild?: string[]; execute(interaction: ChatInputCommandInteraction): Promise<void>;} Properties
Optional
guild
guild?: string[]
Methods
execute
execute(interaction: ChatInputCommandInteraction): Promise<void> Parameters
- interaction: ChatInputCommandInteraction
Returns Promise<void>
The command data obiect.