Safe Haskell | None |
---|---|
Language | Haskell2010 |
module containing all dispatch events
Documentation
data DispatchMessage Source #
Instances
Show DispatchMessage Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> DispatchMessage -> ShowS # show :: DispatchMessage -> String # showList :: [DispatchMessage] -> ShowS # | |
Generic DispatchMessage Source # | |
Defined in Calamity.Gateway.DispatchEvents type Rep DispatchMessage :: Type -> Type # from :: DispatchMessage -> Rep DispatchMessage x # to :: Rep DispatchMessage x -> DispatchMessage # | |
type Rep DispatchMessage Source # | |
Defined in Calamity.Gateway.DispatchEvents type Rep DispatchMessage = D1 ('MetaData "DispatchMessage" "Calamity.Gateway.DispatchEvents" "calamity-0.1.4.0-inplace" 'False) (C1 ('MetaCons "DispatchData'" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 DispatchData)) :+: C1 ('MetaCons "ShutDown" 'PrefixI 'False) (U1 :: Type -> Type)) |
data DispatchData Source #
Instances
Instances
Show ReadyData Source # | |
Generic ReadyData Source # | |
FromJSON ReadyData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser ReadyData parseJSONList :: Value -> Parser [ReadyData] | |
type Rep ReadyData Source # | |
Defined in Calamity.Gateway.DispatchEvents type Rep ReadyData = D1 ('MetaData "ReadyData" "Calamity.Gateway.DispatchEvents" "calamity-0.1.4.0-inplace" 'False) (C1 ('MetaCons "ReadyData" 'PrefixI 'True) ((S1 ('MetaSel ('Just "v") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer) :*: S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 User)) :*: (S1 ('MetaSel ('Just "guilds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [UnavailableGuild]) :*: S1 ('MetaSel ('Just "sessionID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) |
data ChannelPinsUpdateData Source #
Instances
data GuildBanData Source #
Instances
data GuildEmojisUpdateData Source #
Instances
newtype GuildIntegrationsUpdateData Source #
Instances
Show GuildIntegrationsUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> GuildIntegrationsUpdateData -> ShowS # show :: GuildIntegrationsUpdateData -> String # showList :: [GuildIntegrationsUpdateData] -> ShowS # | |
Generic GuildIntegrationsUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents type Rep GuildIntegrationsUpdateData :: Type -> Type # | |
FromJSON GuildIntegrationsUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser GuildIntegrationsUpdateData parseJSONList :: Value -> Parser [GuildIntegrationsUpdateData] | |
type Rep GuildIntegrationsUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents |
data GuildMemberRemoveData Source #
Instances
data GuildMemberUpdateData Source #
Instances
data GuildMembersChunkData Source #
Instances
data GuildRoleData Source #
Instances
data GuildRoleDeleteData Source #
Instances
data MessageDeleteData Source #
Instances
data MessageDeleteBulkData Source #
Instances
data MessageReactionRemoveAllData Source #
Instances
data PresenceUpdateData Source #
Instances
data TypingStartData Source #
Instances
newtype VoiceStateUpdateData Source #
VoiceStateUpdateData Value |
Instances
Show VoiceStateUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> VoiceStateUpdateData -> ShowS # show :: VoiceStateUpdateData -> String # showList :: [VoiceStateUpdateData] -> ShowS # | |
Generic VoiceStateUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents type Rep VoiceStateUpdateData :: Type -> Type # from :: VoiceStateUpdateData -> Rep VoiceStateUpdateData x # to :: Rep VoiceStateUpdateData x -> VoiceStateUpdateData # | |
FromJSON VoiceStateUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser VoiceStateUpdateData parseJSONList :: Value -> Parser [VoiceStateUpdateData] | |
ToJSON VoiceStateUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents toJSON :: VoiceStateUpdateData -> Value toEncoding :: VoiceStateUpdateData -> Encoding toJSONList :: [VoiceStateUpdateData] -> Value toEncodingList :: [VoiceStateUpdateData] -> Encoding | |
type Rep VoiceStateUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents |
newtype VoiceServerUpdateData Source #
VoiceServerUpdateData Value |
Instances
Show VoiceServerUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> VoiceServerUpdateData -> ShowS # show :: VoiceServerUpdateData -> String # showList :: [VoiceServerUpdateData] -> ShowS # | |
Generic VoiceServerUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents type Rep VoiceServerUpdateData :: Type -> Type # | |
FromJSON VoiceServerUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser VoiceServerUpdateData parseJSONList :: Value -> Parser [VoiceServerUpdateData] | |
ToJSON VoiceServerUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents toJSON :: VoiceServerUpdateData -> Value toEncoding :: VoiceServerUpdateData -> Encoding toJSONList :: [VoiceServerUpdateData] -> Value toEncodingList :: [VoiceServerUpdateData] -> Encoding | |
type Rep VoiceServerUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents |
newtype WebhooksUpdateData Source #
WebhooksUpdateData Value |
Instances
Show WebhooksUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> WebhooksUpdateData -> ShowS # show :: WebhooksUpdateData -> String # showList :: [WebhooksUpdateData] -> ShowS # | |
Generic WebhooksUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents type Rep WebhooksUpdateData :: Type -> Type # from :: WebhooksUpdateData -> Rep WebhooksUpdateData x # to :: Rep WebhooksUpdateData x -> WebhooksUpdateData # | |
FromJSON WebhooksUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser WebhooksUpdateData parseJSONList :: Value -> Parser [WebhooksUpdateData] | |
ToJSON WebhooksUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents toJSON :: WebhooksUpdateData -> Value toEncoding :: WebhooksUpdateData -> Encoding toJSONList :: [WebhooksUpdateData] -> Value toEncodingList :: [WebhooksUpdateData] -> Encoding | |
type Rep WebhooksUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents |