Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ArgumentParser

Index

Constructors

constructor

Properties

Private _client

Private _message

_message: Message

Private _optionalRegex

_optionalRegex: RegExp = /\[(.*?)\]/g

Private _requiredRegex

_requiredRegex: RegExp = /\<(.*?)\>/g

args

args: string[]

The arguments used for parsing the text

delimiter

delimiter: string | undefined

The delimiter that specifies how to separate the text for checking

text

text: string[]

The text to be parsed

Methods

Private _parseArguments

  • _parseArguments(): ArgsObject

Private _processArgument

  • _processArgument(argument: string, argumentObject: ArgsObject, regex: RegExp, type: ArgumentType): void

parse

  • parse(): Promise<any>

Generated using TypeDoc