Options
All
  • Public
  • Public/Protected
  • All
Menu

Module slash/command

Index

Other Type aliases

FailedPermissions

FailedPermissions: bigint[]

ParsedArgs

ParsedArgs: Record<string, any>

SlashCommand Type aliases

CommandCallbackBefore

CommandCallbackBefore: (context: SlashContext) => Promise<boolean> | boolean

Type declaration

    • Parameters

      Returns Promise<boolean> | boolean

CommandCallbackBeforeRun

CommandCallbackBeforeRun: (context: SlashContext, args: ParsedArgs) => Promise<boolean> | boolean

Type declaration

CommandCallbackCancel

CommandCallbackCancel: (context: SlashContext) => Promise<any> | any

Type declaration

CommandCallbackCancelRun

CommandCallbackCancelRun: (context: SlashContext, args: ParsedArgs) => Promise<any> | any

Type declaration

CommandCallbackDmBlocked

CommandCallbackDmBlocked: (context: SlashContext) => Promise<any> | any

Type declaration

CommandCallbackError

CommandCallbackError: (context: SlashContext, error: any) => Promise<any> | any

Type declaration

    • Parameters

      Returns Promise<any> | any

CommandCallbackPermissionsFail

CommandCallbackPermissionsFail: (context: SlashContext, permissions: FailedPermissions) => Promise<any> | any

Type declaration

CommandCallbackRun

CommandCallbackRun: (context: SlashContext, args: ParsedArgs) => Promise<any> | any

Type declaration

CommandCallbackRunError

CommandCallbackRunError: (context: SlashContext, args: ParsedArgs, error: any) => Promise<any> | any

Type declaration

CommandCallbackSuccess

CommandCallbackSuccess: (context: SlashContext) => Promise<any> | any

Type declaration

Generated using TypeDoc