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