object CommandBuilder extends Serializable
- Source
- commandBuilder.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CommandBuilder
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def inOneGuild[M[A] <: GuildCommandMessage[A]](guildId: GuildId): CommandFunction[M, M]
A command function that only allow commands sent from one specific guild.
- def inVoiceChannel[I[A] <: GuildCommandMessage[A] with UserCommandMessage[A], O[_]](create: (VoiceGuildChannel) => ~>[I, O]): CommandFunction[I, O]
- def needPermission[M[A] <: GuildCommandMessage[A]](neededPermission: Permission): CommandFunction[M, M]
A command function that requires that those who use this command need some set of permissions.
- def nonBot[I[A] <: CommandMessage[A], O[_]](create: (User) => ~>[I, O]): CommandFunction[I, O]
A command function that disallows bots from using it.
- def onlyInGuild[I[A] <: CommandMessage[A], O[_]](create: (TextGuildChannel, GuildGatewayMessage, GatewayGuild) => ~>[I, O]): CommandFunction[I, O]
A command function that only allows commands sent from a guild, and that lets you build the result command message.
- def rawBuilder(requests: requests.Requests, defaultMustMention: Boolean, defaultMentionOrPrefix: Boolean): CommandBuilder[CommandMessage, NotUsed]
Creates a raw command builder without any extra processing.
- def withGuildMember[I[A] <: GuildCommandMessage[A] with UserCommandMessage[A], O[_]](create: (GuildMember) => ~>[I, O]): CommandTransformer[I, O]
A command function that lets you add the guild member to a command message.