case class UserCommand[InteractionObj[_]] extends CreatedApplicationCommand with Product with Serializable
- Source
- commands.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- UserCommand
- Serializable
- Product
- Equals
- CreatedApplicationCommand
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def commandType: ApplicationCommandType
The application command type.
The application command type.
- Definition Classes
- UserCommand → CreatedApplicationCommand
- val defaultPermission: Boolean
- Definition Classes
- UserCommand → CreatedApplicationCommand
- def description: Option[String]
Description of the application command.
Description of the application command.
- Definition Classes
- UserCommand → CreatedApplicationCommand
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val extra: Map[String, String]
Extra info associated with the command.
Extra info associated with the command.
- Definition Classes
- UserCommand → CreatedApplicationCommand
- val filter: DataInteractionTransformer[CommandInteraction, InteractionObj]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val handle: (InteractionObj[(User, Option[InteractionRawGuildMember])]) => 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
- UserCommand → CreatedApplicationCommand
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def makeCommandOptions: Seq[ApplicationCommandOption]
Convert the parameters of this command into ApplicationCommandOption s.
Convert the parameters of this command into ApplicationCommandOption s.
- Definition Classes
- UserCommand → CreatedApplicationCommand
- val name: String
Name of the application command.
Name of the application command.
- Definition Classes
- UserCommand → CreatedApplicationCommand
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])