abstract class CommandBuilder[Interaction[_], Args] extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- CommandBuilder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new CommandBuilder()
Abstract Value Members
- abstract def andThen[To2[_]](nextTransformer: DataInteractionTransformer[Interaction, To2]): CommandBuilder[To2, Args]
Use a new transformer on the current transformer.
- abstract def defaultPermission(permission: Boolean): CommandBuilder[Interaction, Args]
- abstract def defaultPermission: Boolean
- abstract def extra: Map[String, String]
Extra info to associate with the command.
- abstract def transformer: DataInteractionTransformer[CommandInteraction, Interaction]
A transformer to do base processing of the interaction before handling it.
- abstract def withExtra(extra: Map[String, String]): CommandBuilder[Interaction, Args]
Sets the extra info associated with the command.
- abstract def withTransformer[NewTo[_]](transformer: DataInteractionTransformer[CommandInteraction, NewTo]): CommandBuilder[NewTo, Args]
Sets the transformer to process the interaction first.