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
- Alphabetic
- By Inheritance
- CommandController
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CommandController(requests: requests.Requests)
Value Members
- 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.
- 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.
- val GuildVoiceCommand: CommandBuilder[VoiceGuildMemberCommandMessage, NotUsed]
A command builder that only accepts users that are in a voice channel.
- val baseCommandBuilder: CommandBuilder[CommandMessage, NotUsed]
The base command builder that you can build off if you don't like the default provided builder.
- def defaultMentionOrPrefix: Boolean
Determines the default value for mention or prefix when creating a named command.
- def defaultMustMention: Boolean
Determines the default value for if a mention should required.
- implicit val ec: ExecutionContext
- implicit def findCache[A](implicit message: CommandMessage[A]): CacheSnapshot
- val requestHelper: requests.RequestsHelper
- val requests: requests.Requests