Type Alias BaseCommandData

BaseCommandData: {
    category: string;
    defer?: boolean;
    deployment?: Deployments;
    ephemeral?: boolean;
    module: "command";
}

Basic data structure for commands.

Type declaration

  • category: string
    • The category to which the command belongs.
  • Optionaldefer?: boolean
    • Whether to defer the reply to the command interaction.
  • Optionaldeployment?: Deployments
    • The environment where the command is deployed.
  • Optionalephemeral?: boolean
    • Whether the command response should be ephemeral (only visible to the user who invoked the command).
  • module: "command"
    • The type of the bot module.