case class MessageCommand[InteractionObj[_]] extends CreatedApplicationCommand with Product with Serializable
- Source
- commands.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MessageCommand
- Serializable
- Product
- Equals
- CreatedApplicationCommand
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def commandType: ApplicationCommandType
The application command type.
The application command type.
- Definition Classes
- MessageCommand → CreatedApplicationCommand
- val defaultPermission: Boolean
- Definition Classes
- MessageCommand → CreatedApplicationCommand
- def description: Option[String]
Description of the application command.
Description of the application command.
- Definition Classes
- MessageCommand → CreatedApplicationCommand
- val extra: Map[String, String]
Extra info associated with the command.
Extra info associated with the command.
- Definition Classes
- MessageCommand → CreatedApplicationCommand
- val filter: DataInteractionTransformer[CommandInteraction, InteractionObj]
- val handle: (InteractionObj[InteractionPartialMessage]) => InteractionResponse
- def handleRaw(clientId: String, rawInteraction: RawInteraction, cacheSnapshot: Option[CacheSnapshot]): InteractionResponse
Handle an interaction with the application command.
Handle an interaction with the application command.
- Definition Classes
- MessageCommand → CreatedApplicationCommand
- def makeCommandOptions: Seq[ApplicationCommandOption]
Convert the parameters of this command into ApplicationCommandOption s.
Convert the parameters of this command into ApplicationCommandOption s.
- Definition Classes
- MessageCommand → CreatedApplicationCommand
- val name: String
Name of the application command.
Name of the application command.
- Definition Classes
- MessageCommand → CreatedApplicationCommand
- def productElementNames: Iterator[String]
- Definition Classes
- Product