Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • HelpOptions

Index

Properties

color?: ColorResolvable

Colour of the embed

commands: Commands

Commands to give help for. Only supports discord-express command object

components?: (MessageActionRow | (Required<BaseMessageComponentOptions> & MessageActionRowOptions))[]

Message components to add to the help message

description?: string

Description of the embed for the top level help message

fallbackToDMs?: boolean

Where the help message should be sent if not ephemeral

footerText?: string

Footer text of the embed

matcher?: <T>(obj: {}, key: string) => [trueKey: string, value?: T]

Type declaration

    • <T>(obj: {}, key: string): [trueKey: string, value?: T]
    • Custom command matcher. The default matcher accounts for direct matches, camelCase matches, and uncapitalized matches.

      Type parameters

      • T

      Parameters

      • obj: {}
        • [key: string]: T
      • key: string

      Returns [trueKey: string, value?: T]

thumbnail?: Partial<MessageEmbedThumbnail> & {}

Thumbnail URL of the embed

title?: string

Title of the help message

url?: string

URL of the embed

Methods

  • generateCommandHelp(commandArray: [string, string?, string?], command: Command, request: Request, defaultData: MessageEmbedOptions): MessageEmbed
  • Custom embed generator to show help for a specific command

    Parameters

    • commandArray: [string, string?, string?]
    • command: Command
    • request: Request
    • defaultData: MessageEmbedOptions

    Returns MessageEmbed

  • generateSubcommandGroupHelp(commandArray: [string], subcommandGroup: SubcommandGroup, request: Request, defaultData: MessageEmbedOptions): MessageEmbed
  • generateSubcommandHelp(commandArray: [string, string?], subcommand: Subcommand, request: Request, defaultData: MessageEmbedOptions): MessageEmbed
  • Custom embed generator to show help for a specific subcommand

    Parameters

    • commandArray: [string, string?]
    • subcommand: Subcommand
    • request: Request
    • defaultData: MessageEmbedOptions

    Returns MessageEmbed

  • generateTopLevelHelp(commands: Commands, request: Request, defaultData: MessageEmbedOptions): MessageEmbed

Generated using TypeDoc