calamity-0.8.0.0: A library for writing discord bots in haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Calamity.Gateway.Shard

Description

The shard logic

Synopsis

Documentation

data Shard Source #

Instances

Instances details
(k ~ A_Lens, a ~ OutChan ControlMessage, b ~ OutChan ControlMessage) => LabelOptic "cmdOut" k Shard Shard a b Source # 
Instance details

Defined in Calamity.Gateway.Types

Methods

labelOptic :: Optic k NoIx Shard Shard a b #

(k ~ A_Lens, a ~ InChan CalamityEvent, b ~ InChan CalamityEvent) => LabelOptic "evtIn" k Shard Shard a b Source # 
Instance details

Defined in Calamity.Gateway.Types

Methods

labelOptic :: Optic k NoIx Shard Shard a b #

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "gateway" k Shard Shard a b Source # 
Instance details

Defined in Calamity.Gateway.Types

Methods

labelOptic :: Optic k NoIx Shard Shard a b #

(k ~ A_Lens, a ~ Maybe StatusUpdateData, b ~ Maybe StatusUpdateData) => LabelOptic "initialStatus" k Shard Shard a b Source # 
Instance details

Defined in Calamity.Gateway.Types

Methods

labelOptic :: Optic k NoIx Shard Shard a b #

(k ~ A_Lens, a ~ Intents, b ~ Intents) => LabelOptic "intents" k Shard Shard a b Source # 
Instance details

Defined in Calamity.Gateway.Types

Methods

labelOptic :: Optic k NoIx Shard Shard a b #

(k ~ A_Lens, a ~ Int, b ~ Int) => LabelOptic "shardCount" k Shard Shard a b Source # 
Instance details

Defined in Calamity.Gateway.Types

Methods

labelOptic :: Optic k NoIx Shard Shard a b #

(k ~ A_Lens, a ~ Int, b ~ Int) => LabelOptic "shardID" k Shard Shard a b Source # 
Instance details

Defined in Calamity.Gateway.Types

Methods

labelOptic :: Optic k NoIx Shard Shard a b #

(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "token" k Shard Shard a b Source # 
Instance details

Defined in Calamity.Gateway.Types

Methods

labelOptic :: Optic k NoIx Shard Shard a b #