Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
module containing all dispatch events
Documentation
data CalamityEvent Source #
data DispatchData Source #
Instances
Instances
FromJSON ReadyData Source # | |
Show ReadyData Source # | |
(k ~ A_Lens, a ~ [UnavailableGuild], b ~ [UnavailableGuild]) => LabelOptic "guilds" k ReadyData ReadyData a b Source # | |
Defined in Calamity.Gateway.DispatchEvents | |
(k ~ A_Lens, a ~ Text, b ~ Text) => LabelOptic "sessionID" k ReadyData ReadyData a b Source # | |
Defined in Calamity.Gateway.DispatchEvents | |
(k ~ A_Lens, a ~ User, b ~ User) => LabelOptic "user" k ReadyData ReadyData a b Source # | |
Defined in Calamity.Gateway.DispatchEvents | |
(k ~ A_Lens, a ~ Integer, b ~ Integer) => LabelOptic "v" k ReadyData ReadyData a b Source # | |
Defined in Calamity.Gateway.DispatchEvents |
data ChannelPinsUpdateData Source #
Instances
FromJSON ChannelPinsUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser ChannelPinsUpdateData # parseJSONList :: Value -> Parser [ChannelPinsUpdateData] # | |
Show ChannelPinsUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> ChannelPinsUpdateData -> ShowS # show :: ChannelPinsUpdateData -> String # showList :: [ChannelPinsUpdateData] -> ShowS # |
data GuildEmojisUpdateData Source #
Instances
FromJSON GuildEmojisUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser GuildEmojisUpdateData # parseJSONList :: Value -> Parser [GuildEmojisUpdateData] # | |
Show GuildEmojisUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> GuildEmojisUpdateData -> ShowS # show :: GuildEmojisUpdateData -> String # showList :: [GuildEmojisUpdateData] -> ShowS # |
newtype GuildIntegrationsUpdateData Source #
Instances
data GuildMemberRemoveData Source #
Instances
FromJSON GuildMemberRemoveData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser GuildMemberRemoveData # parseJSONList :: Value -> Parser [GuildMemberRemoveData] # | |
Show GuildMemberRemoveData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> GuildMemberRemoveData -> ShowS # show :: GuildMemberRemoveData -> String # showList :: [GuildMemberRemoveData] -> ShowS # |
data GuildMemberUpdateData Source #
Instances
FromJSON GuildMemberUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser GuildMemberUpdateData # parseJSONList :: Value -> Parser [GuildMemberUpdateData] # | |
Show GuildMemberUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> GuildMemberUpdateData -> ShowS # show :: GuildMemberUpdateData -> String # showList :: [GuildMemberUpdateData] -> ShowS # |
data GuildMembersChunkData Source #
Instances
FromJSON GuildMembersChunkData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser GuildMembersChunkData # parseJSONList :: Value -> Parser [GuildMembersChunkData] # | |
Show GuildMembersChunkData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> GuildMembersChunkData -> ShowS # show :: GuildMembersChunkData -> String # showList :: [GuildMembersChunkData] -> ShowS # |
data GuildRoleData Source #
Instances
FromJSON GuildRoleData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser GuildRoleData # parseJSONList :: Value -> Parser [GuildRoleData] # | |
Show GuildRoleData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> GuildRoleData -> ShowS # show :: GuildRoleData -> String # showList :: [GuildRoleData] -> ShowS # |
data GuildRoleDeleteData Source #
Instances
FromJSON GuildRoleDeleteData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser GuildRoleDeleteData # parseJSONList :: Value -> Parser [GuildRoleDeleteData] # | |
Show GuildRoleDeleteData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> GuildRoleDeleteData -> ShowS # show :: GuildRoleDeleteData -> String # showList :: [GuildRoleDeleteData] -> ShowS # |
data InviteCreateData Source #
Instances
FromJSON InviteCreateData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser InviteCreateData # parseJSONList :: Value -> Parser [InviteCreateData] # | |
Show InviteCreateData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> InviteCreateData -> ShowS # show :: InviteCreateData -> String # showList :: [InviteCreateData] -> ShowS # |
data InviteDeleteData Source #
Instances
FromJSON InviteDeleteData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser InviteDeleteData # parseJSONList :: Value -> Parser [InviteDeleteData] # | |
Show InviteDeleteData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> InviteDeleteData -> ShowS # show :: InviteDeleteData -> String # showList :: [InviteDeleteData] -> ShowS # |
data MessageDeleteData Source #
Instances
FromJSON MessageDeleteData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser MessageDeleteData # parseJSONList :: Value -> Parser [MessageDeleteData] # | |
Show MessageDeleteData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> MessageDeleteData -> ShowS # show :: MessageDeleteData -> String # showList :: [MessageDeleteData] -> ShowS # |
data MessageDeleteBulkData Source #
Instances
FromJSON MessageDeleteBulkData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser MessageDeleteBulkData # parseJSONList :: Value -> Parser [MessageDeleteBulkData] # | |
Show MessageDeleteBulkData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> MessageDeleteBulkData -> ShowS # show :: MessageDeleteBulkData -> String # showList :: [MessageDeleteBulkData] -> ShowS # |
data MessageReactionRemoveAllData Source #
Instances
data PresenceUpdateData Source #
Instances
FromJSON PresenceUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser PresenceUpdateData # parseJSONList :: Value -> Parser [PresenceUpdateData] # | |
Show PresenceUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> PresenceUpdateData -> ShowS # show :: PresenceUpdateData -> String # showList :: [PresenceUpdateData] -> ShowS # |
data TypingStartData Source #
Instances
FromJSON TypingStartData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser TypingStartData # parseJSONList :: Value -> Parser [TypingStartData] # | |
Show TypingStartData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> TypingStartData -> ShowS # show :: TypingStartData -> String # showList :: [TypingStartData] -> ShowS # |
newtype VoiceServerUpdateData Source #
Instances
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 # | |
Show VoiceServerUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> VoiceServerUpdateData -> ShowS # show :: VoiceServerUpdateData -> String # showList :: [VoiceServerUpdateData] -> ShowS # |
newtype WebhooksUpdateData Source #
Instances
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 # | |
Show WebhooksUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> WebhooksUpdateData -> ShowS # show :: WebhooksUpdateData -> String # showList :: [WebhooksUpdateData] -> ShowS # |
data ReactionEvtData Source #