p

ackcord

commands

package commands

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. commands
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait ActionBuilder[-I[_], +O[_], E, A] extends ActionFunction[I, O, E]

    An ActionFunction from an input to an output.

    An ActionFunction from an input to an output. Used for creating actions.

    I

    The input type of this builder.

    O

    The action message type used by the command.

    A

    The argument type of this command builder.

  2. trait ActionFunction[-I[_], +O[_], E] extends AnyRef

    A mapping over action builders.

    A mapping over action builders.

    I

    The input message type

    O

    The output message type

  3. trait ActionTransformer[-I[_], +O[_], E] extends ActionFunction[I, O, E]

    An ActionFunction that can't fail, but might return a different message type.

    An ActionFunction that can't fail, but might return a different message type.

    I

    The input message type

    O

    The output message type

  4. type Command[A] = ComplexCommand[A, NotUsed]
  5. trait CommandBuilder[+M[_], A] extends ActionBuilder[CommandMessage, M, CommandError, A]

    A CommandFunction from a command message to an output.

    A CommandFunction from a command message to an output. Used for creating commands.

    M

    The command message type used by the command.

    A

    The argument type of this command builder.

  6. class CommandConnector extends AnyRef

  7. abstract class CommandController extends AnyRef

    The base command controller that you will place your commands in.

    The base command controller that you will place your commands in. Contains partially applied types, and the Command builder object.

  8. case class CommandDescription(name: String, description: String, usage: String = "", extra: Map[String, String] = Map.empty) extends Product with Serializable

    Represents non essential information about a command intended to be displayed to an end user.

    Represents non essential information about a command intended to be displayed to an end user.

    name

    The display name of a command.

    description

    The description of what a command does.

    usage

    How to use the command. Does not include the name or prefix.

    extra

    Extra stuff about the command that you yourself decide on.

  9. case class CommandError(error: String, channel: TextChannel, cache: CacheSnapshot) extends Product with Serializable

    Represents an error encountered when executing an command.

    Represents an error encountered when executing an command.

    error

    The errror message

    channel

    The channel the error occoured in

    cache

    A cache snapshot tied to the execution of the command

  10. type CommandFunction[-I[_], +O[_]] = ActionFunction[I, O, CommandError]
  11. trait CommandMessage[+A] extends AnyRef

    A message sent with an invocation of a command.

    A message sent with an invocation of a command.

    A

    The parsed argument type

  12. case class CommandRegistration[Mat](materialized: Mat, onDone: Future[Done], killSwitch: UniqueKillSwitch) extends Product with Serializable
  13. type CommandTransformer[-I[_], +O[_]] = ActionTransformer[I, O, CommandError]
  14. trait ComplexCommand[A, Mat] extends AnyRef

    A constructed command execution.

    A constructed command execution.

    A

    The argument type of the command

    Mat

    The materialized result of creating this command

  15. trait DeriveMessageParser extends AnyRef
  16. trait GuildCommandMessage[+A] extends CommandMessage[A]

    A message sent with the invocation of a guild command

    A message sent with the invocation of a guild command

    A

    The parsed argument type

  17. trait GuildMemberCommandMessage[+A] extends GuildCommandMessage[A] with UserCommandMessage[A]
  18. type GuildUserCommandMessage[+A] = GuildCommandMessage[A] with UserCommandMessage[A]
  19. trait MessageParser[A] extends AnyRef

    MessageParser is a typeclass to simplify parsing messages.

    MessageParser is a typeclass to simplify parsing messages. It can derive instances for any ADT, and makes it much easier to work with messages.

    A

    The type to parse.

  20. trait MessageParserInstances extends AnyRef
  21. type NamedCommand[A] = NamedComplexCommand[A, NotUsed]
  22. trait NamedCommandBuilder[+M[_], A] extends ActionBuilder[CommandMessage, M, CommandError, A]

    A CommandFunction from a command message to an output.

    A CommandFunction from a command message to an output. Used for creating commands.

    M

    The command message type used by the command.

    A

    The argument type of this command builder.

  23. trait NamedComplexCommand[A, Mat] extends ComplexCommand[A, Mat]

    A constructed command execution with a name.

    A constructed command execution with a name.

    A

    The argument type of the command

    Mat

    The materialized result of creating this command

  24. trait UserCommandMessage[+A] extends CommandMessage[A]

    A message sent with the invocation of command used by a user

    A message sent with the invocation of command used by a user

    A

    The parsed argument type

  25. trait VoiceGuildCommandMessage[+A] extends GuildCommandMessage[A] with UserCommandMessage[A]
  26. type VoiceGuildMemberCommandMessage[+A] = GuildMemberCommandMessage[A] with VoiceGuildCommandMessage[A]
  27. class WrappedCommandMessage[A] extends CommandMessage[A]

Inherited from AnyRef

Inherited from Any

Ungrouped