c

ackcord.commands

ComplexCommand

case class ComplexCommand[A, Mat](parser: MessageParser[A], flow: Flow[CommandMessage[A], CommandError, Mat]) extends Product with Serializable

A constructed command execution.

A

The argument type of the command

Mat

The materialized result of creating this command

Source
command.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ComplexCommand
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ComplexCommand(parser: MessageParser[A], flow: Flow[CommandMessage[A], CommandError, Mat])

Value Members

  1. val flow: Flow[CommandMessage[A], CommandError, Mat]
  2. val parser: MessageParser[A]
  3. def productElementNames: Iterator[String]
    Definition Classes
    Product
  4. def toNamed(Parser: StructuredPrefixParser): NamedComplexCommand[A, Mat]

    Converts this command into a named command.

    Converts this command into a named command.

    Parser

    The prefix parser to use