discord-haskell-1.15.3: Write bots for Discord in Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Discord.Internal.Types.Emoji

Synopsis

Documentation

data Emoji Source #

Represents an emoticon (emoji)

Constructors

Emoji 

Fields

Instances

Instances details
FromJSON Emoji Source # 
Instance details

Defined in Discord.Internal.Types.Emoji

ToJSON Emoji Source # 
Instance details

Defined in Discord.Internal.Types.Emoji

Read Emoji Source # 
Instance details

Defined in Discord.Internal.Types.Emoji

Show Emoji Source # 
Instance details

Defined in Discord.Internal.Types.Emoji

Methods

showsPrec :: Int -> Emoji -> ShowS #

show :: Emoji -> String #

showList :: [Emoji] -> ShowS #

Eq Emoji Source # 
Instance details

Defined in Discord.Internal.Types.Emoji

Methods

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

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

Ord Emoji Source # 
Instance details

Defined in Discord.Internal.Types.Emoji

Methods

compare :: Emoji -> Emoji -> Ordering #

(<) :: Emoji -> Emoji -> Bool #

(<=) :: Emoji -> Emoji -> Bool #

(>) :: Emoji -> Emoji -> Bool #

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

max :: Emoji -> Emoji -> Emoji #

min :: Emoji -> Emoji -> Emoji #

mkEmoji :: Text -> Emoji Source #

Make an emoji with only a name

data StickerPack Source #

Represents a pack of standard stickers.

Constructors

StickerPack 

Fields

data Sticker Source #

A full sticker object

Constructors

Sticker 

Fields

data StickerItem Source #

A simplified sticker object.

Constructors

StickerItem 

Fields

data StickerFormatType Source #

The format of a sticker

Instances

Instances details
FromJSON StickerFormatType Source # 
Instance details

Defined in Discord.Internal.Types.Emoji

ToJSON StickerFormatType Source # 
Instance details

Defined in Discord.Internal.Types.Emoji

Data StickerFormatType Source # 
Instance details

Defined in Discord.Internal.Types.Emoji

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StickerFormatType -> c StickerFormatType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StickerFormatType #

toConstr :: StickerFormatType -> Constr #

dataTypeOf :: StickerFormatType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StickerFormatType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StickerFormatType) #

gmapT :: (forall b. Data b => b -> b) -> StickerFormatType -> StickerFormatType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StickerFormatType -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StickerFormatType -> r #

gmapQ :: (forall d. Data d => d -> u) -> StickerFormatType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StickerFormatType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StickerFormatType -> m StickerFormatType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StickerFormatType -> m StickerFormatType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StickerFormatType -> m StickerFormatType #

Read StickerFormatType Source # 
Instance details

Defined in Discord.Internal.Types.Emoji

Show StickerFormatType Source # 
Instance details

Defined in Discord.Internal.Types.Emoji

InternalDiscordEnum StickerFormatType Source # 
Instance details

Defined in Discord.Internal.Types.Emoji

Eq StickerFormatType Source # 
Instance details

Defined in Discord.Internal.Types.Emoji

Ord StickerFormatType Source # 
Instance details

Defined in Discord.Internal.Types.Emoji