o

ackcord.util

GuildStreams

object GuildStreams

Source
GuildStreams.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GuildStreams
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apiMessageGroupByGuildId[Msg <: APIMessage]: SubFlow[Msg, NotUsed, [+O]Flow[Msg, O, NotUsed], Sink[Msg, NotUsed]]

    Creates a subflow grouped by what GuildId a message belongs to.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. def createGatewayGuildInfoExtractor(log: Logger): (GatewayEvent[_]) => Option[GuildId]

    A function which tries to find out which guild a given GatewayEvent event belongs to.

    A function which tries to find out which guild a given GatewayEvent event belongs to.

    Handles

    The function returned by this contains multiple state, and is not safe to share.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def gatewayEventGroupByGuildId[Msg <: GatewayEvent[_]](log: Logger): SubFlow[Msg, NotUsed, [+O]Flow[Msg, O, NotUsed], Sink[Msg, NotUsed]]

    Creates a subflow grouped by what GuildId an event belongs to.

  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def guildFilterApiMessage[Msg <: APIMessage](guildId: GuildId): Flow[Msg, Msg, NotUsed]

    Serves the opposite function of GuildRouter.

    Serves the opposite function of GuildRouter. The job of the guild filter is to only allow messages that belong to a specific guild.

    Handles

    Global events like APIMessage.Ready, APIMessage.Resumed and APIMessage.UserUpdate are sent no matter what.

    guildId

    The only guildID to allow through.

  13. def guildFilterGatewayEvent[Msg <: GatewayEvent[_]](guildId: GuildId, log: Logger): Flow[Msg, Msg, NotUsed]

    GuildFilter serves the opposite function of GuildRouter.

    GuildFilter serves the opposite function of GuildRouter. The job of the guild filter is to only send messages to one actor that matches a specific guild.

    Handles

    Global events like ackcord.gateway.GatewayEvent.Ready, ackcord.gateway.GatewayEvent.Resumed and ackcord.gateway.GatewayEvent.UserUpdate are sent no matter what.

    guildId

    The only guildID to allow through.

  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. def withGuildInfoApiMessage[Msg <: APIMessage]: Flow[Msg, (Msg, Option[GuildId]), NotUsed]

    A flow which tries to find out which guild a given APIMessage event belongs to.

    A flow which tries to find out which guild a given APIMessage event belongs to.

    Handles

  25. def withGuildInfoGatewayEvent[Msg <: GatewayEvent[_]](log: Logger): Flow[Msg, (Msg, Option[GuildId]), NotUsed]

    A flow which tries to find out which guild a given GatewayEvent event belongs to.

    A flow which tries to find out which guild a given GatewayEvent event belongs to.

    Handles

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped