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.0.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 # | |
type Rep ReadyData Source # | |
Defined in Calamity.Gateway.DispatchEvents type Rep ReadyData = D1 (MetaData "ReadyData" "Calamity.Gateway.DispatchEvents" "calamity-0.1.0.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
Show GuildBanData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> GuildBanData -> ShowS # show :: GuildBanData -> String # showList :: [GuildBanData] -> ShowS # | |
Generic GuildBanData Source # | |
Defined in Calamity.Gateway.DispatchEvents type Rep GuildBanData :: Type -> Type # from :: GuildBanData -> Rep GuildBanData x # to :: Rep GuildBanData x -> GuildBanData # | |
FromJSON GuildBanData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser GuildBanData # parseJSONList :: Value -> Parser [GuildBanData] # | |
type Rep GuildBanData Source # | |
Defined in Calamity.Gateway.DispatchEvents type Rep GuildBanData = D1 (MetaData "GuildBanData" "Calamity.Gateway.DispatchEvents" "calamity-0.1.0.0-inplace" False) (C1 (MetaCons "GuildBanData" PrefixI True) (S1 (MetaSel (Just "guildID") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Snowflake Guild)) :*: S1 (MetaSel (Just "user") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 User))) |
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 | |
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 #
Instances
newtype VoiceServerUpdateData Source #
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 # | |
ToJSON VoiceServerUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents toJSON :: VoiceServerUpdateData -> Value # toEncoding :: VoiceServerUpdateData -> Encoding # toJSONList :: [VoiceServerUpdateData] -> Value # toEncodingList :: [VoiceServerUpdateData] -> Encoding # | |
FromJSON VoiceServerUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser VoiceServerUpdateData # parseJSONList :: Value -> Parser [VoiceServerUpdateData] # | |
type Rep VoiceServerUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents |
newtype WebhooksUpdateData Source #
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 # | |
ToJSON WebhooksUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents toJSON :: WebhooksUpdateData -> Value # toEncoding :: WebhooksUpdateData -> Encoding # toJSONList :: [WebhooksUpdateData] -> Value # toEncodingList :: [WebhooksUpdateData] -> Encoding # | |
FromJSON WebhooksUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser WebhooksUpdateData # parseJSONList :: Value -> Parser [WebhooksUpdateData] # | |
type Rep WebhooksUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents |