case class SlashCommand[InteractionObj[_], A] extends SlashCommandOrGroup with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SlashCommand
  2. Serializable
  3. Product
  4. Equals
  5. SlashCommandOrGroup
  6. CreatedApplicationCommand
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def commandType: ApplicationCommandType

    The application command type.

    The application command type.

    Definition Classes
    SlashCommandOrGroupCreatedApplicationCommand
  2. val defaultPermission: Boolean
  3. val description: Option[String]

    Description of the application command.

    Description of the application command.

    Definition Classes
    SlashCommandCreatedApplicationCommand
  4. val extra: Map[String, String]

    Extra info associated with the command.

    Extra info associated with the command.

    Definition Classes
    SlashCommandCreatedApplicationCommand
  5. val filter: DataInteractionTransformer[CommandInteraction, InteractionObj]
  6. val handle: (InteractionObj[A]) => InteractionResponse
  7. def handleRaw(clientId: String, interaction: RawInteraction, cacheSnapshot: Option[CacheSnapshot]): InteractionResponse

    Handle an interaction with the application command.

    Handle an interaction with the application command.

    Definition Classes
    SlashCommandCreatedApplicationCommand
  8. def makeCommandOptions: Seq[ApplicationCommandOption]

    Convert the parameters of this command into ApplicationCommandOption s.

    Convert the parameters of this command into ApplicationCommandOption s.

    Definition Classes
    SlashCommandCreatedApplicationCommand
  9. val name: String

    Name of the application command.

    Name of the application command.

    Definition Classes
    SlashCommandCreatedApplicationCommand
  10. val paramList: Either[=:=[NotUsed, A], ParamList[A]]
  11. def productElementNames: Iterator[String]
    Definition Classes
    Product
  12. def toCommandOption: ApplicationCommandOption

    Convert this command to an ApplicationCommandOption.

    Convert this command to an ApplicationCommandOption.

    Definition Classes
    SlashCommandSlashCommandOrGroup