Options
All
  • Public
  • Public/Protected
  • All
Menu

Discorb's custom request interface. Includes different interpretations of the incoming message and the message itself.

Type parameters

  • S = DefaultState

    Bot state type

Hierarchy

  • Request

Index

Properties

args

args: string[]

Everything after the command, split by spaces.

Optional command

command: Command<S>

The triggered command as registered in the bot.

commands

commands: string[]

The command path, including upper-level commands.

components

components: string[]

The message contents, split by spaces and with the prefix removed.

message

message: Message

The message that triggered the command.

see

Discord's documentaton

rest

rest: string

Message contents without the prefix and command.

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Protected property
  • Private method

Generated using TypeDoc