c

ackcord.commands

CommandController

abstract class CommandController extends AnyRef

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

Source
CommandController.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommandController
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CommandController(requests: requests.Requests)

Value Members

  1. val Command: CommandBuilder[UserCommandMessage, NotUsed]

    The default command builder you will use to create most of your commands.

    The default command builder you will use to create most of your commands. By default blocks bots from using the commands.

  2. val GuildCommand: CommandBuilder[GuildMemberCommandMessage, NotUsed]

    Another default command builder for you to use.

    Another default command builder for you to use. Can only be used in guilds, and includes the guild, guild channel and user of the command.

  3. val GuildVoiceCommand: CommandBuilder[VoiceGuildMemberCommandMessage, NotUsed]

    A command builder that only accepts users that are in a voice channel.

  4. val baseCommandBuilder: CommandBuilder[CommandMessage, NotUsed]

    The base command builder that you can build off if you don't like the default provided builder.

  5. def defaultMentionOrPrefix: Boolean

    Determines the default value for mention or prefix when creating a named command.

  6. def defaultMustMention: Boolean

    Determines the default value for if a mention should required.

  7. implicit val ec: ExecutionContext
  8. implicit def findCache[A](implicit message: CommandMessage[A]): CacheSnapshot
  9. val requestHelper: requests.RequestsHelper
  10. val requests: requests.Requests