Packages

p

ackcord

newcommands

package newcommands

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait Command[F[_], A, Mat] extends AnyRef

    A constructed command execution.

    A constructed command execution.

    F

    The effect type of the cache

    A

    The argument type of the command

    Mat

    The materialized result of creating this command

  2. trait CommandBuilder[F[_], +M[_], A] extends CommandFunction[F, [β$0$]CommandMessage[F, β$0$], M]

    A CommandFunction from a command message to an output.

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

    F

    The cache effect type

    M

    The command message type used by the command.

    A

    The argument type of this command builder.

  3. class CommandConnector[F[_]] extends AnyRef

    F

    The cache effect type

  4. abstract class CommandController[F[_]] 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.

    F

    The type of effect for the cache

  5. 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.

  6. case class CommandError[F[_]](error: String, channel: TChannel, cache: CacheSnapshot[F]) extends Product with Serializable

    Represents an error encountered when executing an command.

    Represents an error encountered when executing an command.

    F

    The cache's effect type

    error

    The errror message

    channel

    The channel the error occoured in

    cache

    A cache snapshot tied to the execution of the command

  7. trait CommandFunction[F[_], -I[_], +O[_]] extends AnyRef

    A mapping over command builders.

    A mapping over command builders.

    F

    The cache effect type

    I

    The input message type

    O

    The output message type

  8. trait CommandMessage[F[_], +A] extends AnyRef

    A message sent with an invocation of a command.

    A message sent with an invocation of a command.

    F

    The cache effect type

    A

    The parsed argument type

  9. trait CommandTransformer[F[_], -I[_], +O[_]] extends CommandFunction[F, I, O]

    A CommandFunction that can't fail, but might return a different message type.

    A CommandFunction that can't fail, but might return a different message type.

    F

    The cache effect type

    I

    The input message type

    O

    The output message type

  10. trait DeriveMessageParser extends AnyRef
  11. trait GuildCommandMessage[F[_], +A] extends CommandMessage[F, A]

    A message sent with the invocation of a guild command

    A message sent with the invocation of a guild command

    F

    The cache effect type

    A

    The parsed argument type

  12. trait GuildMemberCommandMessage[F[_], +A] extends GuildCommandMessage[F, A] with UserCommandMessage[F, A]
  13. 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.

  14. trait MessageParserInstances extends AnyRef
  15. trait UserCommandMessage[F[_], +A] extends CommandMessage[F, 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

    F

    The cache effect type

    A

    The parsed argument type

  16. trait VoiceGuildCommandMessage[F[_], +A] extends GuildCommandMessage[F, A] with UserCommandMessage[F, A]
  17. class WrappedCommandMessage[F[_], A] extends CommandMessage[F, A]

Ungrouped