discord-haskell-1.2.0: Write bots for Discord in Haskell

Safe HaskellNone
LanguageHaskell2010

Discord.Internal.Types.Events

Description

Data structures pertaining to gateway dispatch Events

Synopsis

Documentation

data Event Source #

Represents possible events sent by discord. Detailed information can be found at https://discordapp.com/developers/docs/topics/gateway.

Instances
Eq Event Source # 
Instance details

Defined in Discord.Internal.Types.Events

Methods

(==) :: Event -> Event -> Bool #

(/=) :: Event -> Event -> Bool #

Show Event Source # 
Instance details

Defined in Discord.Internal.Types.Events

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

reparse :: (ToJSON a, FromJSON b) => a -> Parser b Source #

Convert ToJSON value to FromJSON value