Safe Haskell | None |
---|---|
Language | Haskell2010 |
module containing all dispatch events
Documentation
data CalamityEvent Source #
data DispatchData Source #
Instances
Instances
Show ReadyData Source # | |
FromJSON 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
Show ChannelPinsUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> ChannelPinsUpdateData -> ShowS # show :: ChannelPinsUpdateData -> String # showList :: [ChannelPinsUpdateData] -> ShowS # | |
FromJSON ChannelPinsUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser ChannelPinsUpdateData # parseJSONList :: Value -> Parser [ChannelPinsUpdateData] # |
data GuildEmojisUpdateData Source #
Instances
Show GuildEmojisUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> GuildEmojisUpdateData -> ShowS # show :: GuildEmojisUpdateData -> String # showList :: [GuildEmojisUpdateData] -> ShowS # | |
FromJSON GuildEmojisUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser GuildEmojisUpdateData # parseJSONList :: Value -> Parser [GuildEmojisUpdateData] # |
newtype GuildIntegrationsUpdateData Source #
Instances
data GuildMemberRemoveData Source #
Instances
Show GuildMemberRemoveData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> GuildMemberRemoveData -> ShowS # show :: GuildMemberRemoveData -> String # showList :: [GuildMemberRemoveData] -> ShowS # | |
FromJSON GuildMemberRemoveData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser GuildMemberRemoveData # parseJSONList :: Value -> Parser [GuildMemberRemoveData] # |
data GuildMemberUpdateData Source #
Instances
Show GuildMemberUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> GuildMemberUpdateData -> ShowS # show :: GuildMemberUpdateData -> String # showList :: [GuildMemberUpdateData] -> ShowS # | |
FromJSON GuildMemberUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser GuildMemberUpdateData # parseJSONList :: Value -> Parser [GuildMemberUpdateData] # |
data GuildMembersChunkData Source #
Instances
Show GuildMembersChunkData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> GuildMembersChunkData -> ShowS # show :: GuildMembersChunkData -> String # showList :: [GuildMembersChunkData] -> ShowS # | |
FromJSON GuildMembersChunkData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser GuildMembersChunkData # parseJSONList :: Value -> Parser [GuildMembersChunkData] # |
data GuildRoleData Source #
Instances
Show GuildRoleData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> GuildRoleData -> ShowS # show :: GuildRoleData -> String # showList :: [GuildRoleData] -> ShowS # | |
FromJSON GuildRoleData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser GuildRoleData # parseJSONList :: Value -> Parser [GuildRoleData] # |
data GuildRoleDeleteData Source #
Instances
Show GuildRoleDeleteData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> GuildRoleDeleteData -> ShowS # show :: GuildRoleDeleteData -> String # showList :: [GuildRoleDeleteData] -> ShowS # | |
FromJSON GuildRoleDeleteData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser GuildRoleDeleteData # parseJSONList :: Value -> Parser [GuildRoleDeleteData] # |
data InviteCreateData Source #
Instances
Show InviteCreateData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> InviteCreateData -> ShowS # show :: InviteCreateData -> String # showList :: [InviteCreateData] -> ShowS # | |
FromJSON InviteCreateData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser InviteCreateData # parseJSONList :: Value -> Parser [InviteCreateData] # |
data InviteDeleteData Source #
Instances
Show InviteDeleteData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> InviteDeleteData -> ShowS # show :: InviteDeleteData -> String # showList :: [InviteDeleteData] -> ShowS # | |
FromJSON InviteDeleteData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser InviteDeleteData # parseJSONList :: Value -> Parser [InviteDeleteData] # |
data MessageDeleteData Source #
Instances
Show MessageDeleteData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> MessageDeleteData -> ShowS # show :: MessageDeleteData -> String # showList :: [MessageDeleteData] -> ShowS # | |
FromJSON MessageDeleteData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser MessageDeleteData # parseJSONList :: Value -> Parser [MessageDeleteData] # |
data MessageDeleteBulkData Source #
Instances
Show MessageDeleteBulkData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> MessageDeleteBulkData -> ShowS # show :: MessageDeleteBulkData -> String # showList :: [MessageDeleteBulkData] -> ShowS # | |
FromJSON MessageDeleteBulkData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser MessageDeleteBulkData # parseJSONList :: Value -> Parser [MessageDeleteBulkData] # |
data MessageReactionRemoveAllData Source #
Instances
data PresenceUpdateData Source #
Instances
Show PresenceUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> PresenceUpdateData -> ShowS # show :: PresenceUpdateData -> String # showList :: [PresenceUpdateData] -> ShowS # | |
FromJSON PresenceUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser PresenceUpdateData # parseJSONList :: Value -> Parser [PresenceUpdateData] # |
data TypingStartData Source #
Instances
Show TypingStartData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> TypingStartData -> ShowS # show :: TypingStartData -> String # showList :: [TypingStartData] -> ShowS # | |
FromJSON TypingStartData Source # | |
Defined in Calamity.Gateway.DispatchEvents parseJSON :: Value -> Parser TypingStartData # parseJSONList :: Value -> Parser [TypingStartData] # |
newtype VoiceServerUpdateData Source #
Instances
Show VoiceServerUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> VoiceServerUpdateData -> ShowS # show :: VoiceServerUpdateData -> String # showList :: [VoiceServerUpdateData] -> ShowS # | |
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] # |
newtype WebhooksUpdateData Source #
Instances
Show WebhooksUpdateData Source # | |
Defined in Calamity.Gateway.DispatchEvents showsPrec :: Int -> WebhooksUpdateData -> ShowS # show :: WebhooksUpdateData -> String # showList :: [WebhooksUpdateData] -> ShowS # | |
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] # |
data ReactionEvtData Source #