Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CommandOptions

Index

Properties

Optional aliases

aliases: CommandType[]

Array of extra commands to check

command

command: CommandType

Command to check for (string or RegExp)

exec

exec: (ctx: CommandContext) => void | Promise<void>

Execute function

Type declaration

    • (ctx: CommandContext): void | Promise<void>
    • Parameters

      • ctx: CommandContext

      Returns void | Promise<void>

Optional interaction

interaction: RESTPostAPIApplicationCommandsJSONBody

Slash command interaction data that posts on startup

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Static method

Generated using TypeDoc