object InteractionTransformer
- Source
- interactions.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- InteractionTransformer
- 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 cache[I <: Interaction, O](create: (CacheSnapshot) => (I) => O): InteractionTransformer[I, O]
An interaction transformer which gurantees that a cache is present.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromComplex[From, To](complex: DataInteractionTransformer[[T]From, [T]To]): InteractionTransformer[From, To]
- def fromComplexCreate[From, To, Info1, Info2, Info3, Info4](create: (Info1, Info2, Info3, Info4) => (From) => To, makeComplex: ((Info1, Info2, Info3, Info4) => ~>[[T]From, [T]To]) => DataInteractionTransformer[[T]From, [T]To]): InteractionTransformer[From, To]
- def fromComplexCreate[From, To, Info1, Info2](create: (Info1, Info2) => (From) => To, makeComplex: ((Info1, Info2) => ~>[[T]From, [T]To]) => DataInteractionTransformer[[T]From, [T]To]): InteractionTransformer[From, To]
- def fromComplexCreate1[From, To, Info1](create: (Info1) => (From) => To, makeComplex: ((Info1) => ~>[[T]From, [T]To]) => DataInteractionTransformer[[T]From, [T]To]): InteractionTransformer[From, To]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def identity[A]: InteractionTransformer[A, A]
- def inVoiceChannel[I <: GuildInteraction, O](create: (VoiceGuildChannel) => (I) => O): InteractionTransformer[I, O]
Ensures that the executor of the interaction is in a voice channel.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def needPermission[M <: GuildInteraction](neededPermission: Permission): InteractionTransformer[M, M]
A command function that requires that those who use this command need some set of permissions.
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def onlyInGuild[I <: ResolvedInteraction, O](create: (GatewayGuild, GuildMember, Permission, TextGuildChannel) => (I) => O): InteractionTransformer[I, O]
A command function that only allows commands sent from a guild.
- def resolved[I <: CacheInteraction, O](create: (TextChannel, Option[GatewayGuild]) => (I) => O): InteractionTransformer[I, O]
A command transformer which resolves most ids from the cache.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])