calamity-0.1.0.0: A library for writing discord bots
Calamity.Types.Model.Presence.Presence
Description
User presences
data Presence Source #
Constructors
Fields
Defined in Calamity.Types.Model.Presence.Presence
Methods
(==) :: Presence -> Presence -> Bool #
(/=) :: Presence -> Presence -> Bool #
showsPrec :: Int -> Presence -> ShowS #
show :: Presence -> String #
showList :: [Presence] -> ShowS #
Associated Types
type Rep Presence :: Type -> Type #
from :: Presence -> Rep Presence x #
to :: Rep Presence x -> Presence #
toJSON :: Presence -> Value #
toEncoding :: Presence -> Encoding #
toJSONList :: [Presence] -> Value #
toEncodingList :: [Presence] -> Encoding #
parseJSON :: Value -> Parser Presence #
parseJSONList :: Value -> Parser [Presence] #
showbPrec :: Int -> Presence -> Builder #
showb :: Presence -> Builder #
showbList :: [Presence] -> Builder #
showtPrec :: Int -> Presence -> Text #
showt :: Presence -> Text #
showtList :: [Presence] -> Text #
showtlPrec :: Int -> Presence -> Text #
showtl :: Presence -> Text #
showtlList :: [Presence] -> Text #
getID :: Presence -> Snowflake Guild Source #
getID :: Presence -> Snowflake User Source #
data ClientStatus Source #
(==) :: ClientStatus -> ClientStatus -> Bool #
(/=) :: ClientStatus -> ClientStatus -> Bool #
showsPrec :: Int -> ClientStatus -> ShowS #
show :: ClientStatus -> String #
showList :: [ClientStatus] -> ShowS #
type Rep ClientStatus :: Type -> Type #
from :: ClientStatus -> Rep ClientStatus x #
to :: Rep ClientStatus x -> ClientStatus #
toJSON :: ClientStatus -> Value #
toEncoding :: ClientStatus -> Encoding #
toJSONList :: [ClientStatus] -> Value #
toEncodingList :: [ClientStatus] -> Encoding #
parseJSON :: Value -> Parser ClientStatus #
parseJSONList :: Value -> Parser [ClientStatus] #
showbPrec :: Int -> ClientStatus -> Builder #
showb :: ClientStatus -> Builder #
showbList :: [ClientStatus] -> Builder #
showtPrec :: Int -> ClientStatus -> Text #
showt :: ClientStatus -> Text #
showtList :: [ClientStatus] -> Text #
showtlPrec :: Int -> ClientStatus -> Text #
showtl :: ClientStatus -> Text #
showtlList :: [ClientStatus] -> Text #