• API Docs
  • Handler
  • Types
  • SlashCommand

SlashCommand

PropertyTypeValueDescription
descriptionstringN/A-
initPluginsArray<CommandPlugin<Both> | InitPlugin<Slash>>N/APlugins that will be ran upon the command being initialized/loaded.
namestringN/A-
optionsApplicationCommandOptionDataN/A-
pluginsArray<CommandPlugin<Both> | CommandPlugin<Slash>>N/APlugins that will be ran upon the command being used.
run(options: { args: CommandInteractionOptionResolver<CacheType>,client: Client<boolean>,interaction: ChatInputCommandInteraction<CacheType> }) => unknownN/A-
typeSlashN/A-