CustomArgumentContext

interface CustomArgumentContext

Context passed to a custom prefix-command argument parser.

Properties

Property

Type

Description

argument

string

commandName

string

message

GuildMemberMessage

Methods

CustomArgumentContext.fail(message: string) → never

Rejects the input. The command stops and onInputError receives a CommandInputError with code "custom" and this message.