p

ackcord

package ackcord

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ackcord
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait APIMessage extends AnyRef

    Base trait normal messages.

  2. case class APIMessageCacheUpdate[Data](data: Data, sendEvent: (CacheState) ⇒ Option[APIMessage], handler: CacheHandler[Data], registry: CacheTypeRegistry) extends CacheEvent with Product with Serializable

    An event that should publish an APIMessage.

    An event that should publish an APIMessage.

    Data

    The data it contains.

    data

    The data.

    sendEvent

    A function to gather the needed variables to send the event.

    handler

    The handler to process the data of this event with.

    registry

    The handler registry that the event will use to update the snapshot.

  3. type BotAuthentication = ackcord.requests.BotAuthentication.type
  4. case class Cache(publish: Sink[CacheEvent, NotUsed], subscribe: Source[(CacheEvent, CacheState), NotUsed], gatewayPublish: Sink[GatewayMessage[Any], NotUsed], gatewaySubscribe: Source[GatewayMessage[Any], NotUsed])(implicit system: ActorSystem[Nothing]) extends Product with Serializable

    Represents a cache that can be published and subscribed to.

    Represents a cache that can be published and subscribed to.

    publish

    A sink used for publishing. Any elements connected to this sink is published to the cache.

    subscribe

    A source to subscribe to. All updates are pushed here.

  5. trait CacheEvent extends AnyRef

    Represents some sort of event handled by the cache

  6. trait CacheSnapshotWithMaps extends CacheSnapshot

    A cache snapshot where the getters can use the maps to get their data.

  7. case class CacheState(current: MemoryCacheSnapshot, previous: MemoryCacheSnapshot) extends Product with Serializable

    Represents the state of the cache for a single point.

    Represents the state of the cache for a single point.

    current

    The current values in the cache.

    previous

    The previous values in the cache.

  8. type FutureVectorRequest[A] = Future[Vector[A]]
  9. type GatewayLogin = Login.type
  10. type GatewayLogout = Logout.type
  11. type GatewaySettings = ackcord.gateway.GatewaySettings
  12. type JsonNull = ackcord.util.JsonNull.type
  13. type JsonOption[A] = ackcord.util.JsonOption[A]
  14. type JsonSome[A] = ackcord.util.JsonSome[A]
  15. type JsonUndefined = ackcord.util.JsonUndefined.type
  16. case class MemoryCacheSnapshot(seq: Long, botUser: @@[User, BotUser], dmChannelMap: SnowflakeMap[DMChannel, DMChannel], groupDmChannelMap: SnowflakeMap[GroupDMChannel, GroupDMChannel], unavailableGuildMap: SnowflakeMap[Guild, UnavailableGuild], guildMap: SnowflakeMap[Guild, Guild], messageMap: SnowflakeMap[TextChannel, SnowflakeMap[Message, Message]], lastTypedMap: SnowflakeMap[TextChannel, SnowflakeMap[User, Instant]], userMap: SnowflakeMap[User, User], banMap: SnowflakeMap[Guild, SnowflakeMap[User, Ban]], creationProcessor: CacheProcessor) extends CacheSnapshotWithMaps with Product with Serializable

    Represents the cache at some point in time

  17. type OptionTRequest[A] = OptionT[Future, A]
  18. type Requests = ackcord.requests.Requests
  19. type RequestsHelper = ackcord.requests.RequestsHelper
  20. type SourceRequest[A] = Source[A, NotUsed]
  21. type Streamable[F[_]] = ackcord.util.Streamable[F]
  22. type RequestHelper = ackcord.requests.Requests
    Annotations
    @deprecated
    Deprecated

    (Since version 0.16) Prefer the new name Requests

Value Members

  1. val BotAuthentication: ackcord.requests.BotAuthentication.type
  2. val GatewayLogin: Login.type
  3. val GatewayLogout: Logout.type
  4. val GatewaySettings: ackcord.gateway.GatewaySettings.type
  5. val JsonNull: ackcord.util.JsonNull.type
  6. val JsonOption: ackcord.util.JsonOption.type
  7. val JsonSome: ackcord.util.JsonSome.type
  8. val JsonUndefined: ackcord.util.JsonUndefined.type
  9. val Requests: ackcord.requests.Requests.type
  10. val Streamable: ackcord.util.Streamable.type
  11. implicit def flowFunctorInstance[In, Mat]: Functor[[β$0$]Flow[In, β$0$, Mat]]
  12. implicit def sinkContravariantInstance[Mat]: Contravariant[[α$1$]Sink[α$1$, Mat]]
  13. implicit val sourceMonadInstance: MonadError[SourceRequest, Throwable] with Alternative[SourceRequest]
  14. implicit def sourceSyntax[A, M](source: Source[A, M]): SourceFlatmap[A, M]
  15. object APIMessage
  16. object Cache extends Serializable
  17. object CacheStreams
  18. object DiscordShard
  19. object GatewayHandlerCache
  20. object MemoryCacheSnapshot extends Serializable

Deprecated Value Members

  1. val RequestHelper: ackcord.requests.Requests.type
    Annotations
    @deprecated
    Deprecated

    (Since version 0.16) Prefer the new name Requests

Inherited from AnyRef

Inherited from Any

Ungrouped