calamity-0.1.9.0: A library for writing discord bots
Safe HaskellNone
LanguageHaskell2010

Calamity.Types.Model.Guild.Emoji

Description

Discord emojis

Documentation

data Emoji Source #

Constructors

Emoji 

Instances

Instances details
Eq Emoji Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Methods

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

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

Show Emoji Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Methods

showsPrec :: Int -> Emoji -> ShowS #

show :: Emoji -> String #

showList :: [Emoji] -> ShowS #

Generic Emoji Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Associated Types

type Rep Emoji :: Type -> Type #

Methods

from :: Emoji -> Rep Emoji x #

to :: Rep Emoji x -> Emoji #

TextShow Emoji Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

FromJSON Emoji Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Methods

parseJSON :: Value -> Parser Emoji

parseJSONList :: Value -> Parser [Emoji]

ToJSON Emoji Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Methods

toJSON :: Emoji -> Value

toEncoding :: Emoji -> Encoding

toJSONList :: [Emoji] -> Value

toEncodingList :: [Emoji] -> Encoding

Eq (Partial Emoji) Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Show (Partial Emoji) Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Generic (Partial Emoji) Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Associated Types

type Rep (Partial Emoji) :: Type -> Type #

TextShow (Partial Emoji) Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

FromJSON (Partial Emoji) Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Methods

parseJSON :: Value -> Parser (Partial Emoji)

parseJSONList :: Value -> Parser [Partial Emoji]

ToJSON (Partial Emoji) Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Methods

toJSON :: Partial Emoji -> Value

toEncoding :: Partial Emoji -> Encoding

toJSONList :: [Partial Emoji] -> Value

toEncodingList :: [Partial Emoji] -> Encoding

HasID Emoji Emoji Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

HasID Emoji (Partial Emoji) Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Parser (Snowflake Emoji) r Source # 
Instance details

Defined in Calamity.Commands.Parser

Associated Types

type ParserResult (Snowflake Emoji) Source #

type Rep Emoji Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

data Partial Emoji Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

type Rep (Partial Emoji) Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

type Rep (Partial Emoji) = D1 ('MetaData "Partial" "Calamity.Types.Model.Guild.Emoji" "calamity-0.1.9.0-inplace" 'False) (C1 ('MetaCons "PartialEmoji" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake Emoji)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
type ParserResult (Snowflake Emoji) Source # 
Instance details

Defined in Calamity.Commands.Parser

data family Partial t Source #

Instances

Instances details
Eq (Partial Channel) Source # 
Instance details

Defined in Calamity.Types.Model.Channel

Eq (Partial Guild) Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Guild

Eq (Partial User) Source # 
Instance details

Defined in Calamity.Types.Model.User

Eq (Partial Emoji) Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Show (Partial Channel) Source # 
Instance details

Defined in Calamity.Types.Model.Channel

Show (Partial Guild) Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Guild

Show (Partial User) Source # 
Instance details

Defined in Calamity.Types.Model.User

Show (Partial Emoji) Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Generic (Partial Channel) Source # 
Instance details

Defined in Calamity.Types.Model.Channel

Associated Types

type Rep (Partial Channel) :: Type -> Type #

Generic (Partial Guild) Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Guild

Associated Types

type Rep (Partial Guild) :: Type -> Type #

Generic (Partial User) Source # 
Instance details

Defined in Calamity.Types.Model.User

Associated Types

type Rep (Partial User) :: Type -> Type #

Methods

from :: Partial User -> Rep (Partial User) x #

to :: Rep (Partial User) x -> Partial User #

Generic (Partial Emoji) Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Associated Types

type Rep (Partial Emoji) :: Type -> Type #

TextShow (Partial Channel) 
Instance details

Defined in Calamity.Types.Model.Channel

TextShow (Partial Guild) 
Instance details

Defined in Calamity.Types.Model.Guild.Guild

TextShow (Partial User) 
Instance details

Defined in Calamity.Types.Model.User

TextShow (Partial Emoji) 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

FromJSON (Partial Channel) 
Instance details

Defined in Calamity.Types.Model.Channel

Methods

parseJSON :: Value -> Parser (Partial Channel)

parseJSONList :: Value -> Parser [Partial Channel]

FromJSON (Partial Guild) 
Instance details

Defined in Calamity.Types.Model.Guild.Guild

Methods

parseJSON :: Value -> Parser (Partial Guild)

parseJSONList :: Value -> Parser [Partial Guild]

FromJSON (Partial User) 
Instance details

Defined in Calamity.Types.Model.User

Methods

parseJSON :: Value -> Parser (Partial User)

parseJSONList :: Value -> Parser [Partial User]

FromJSON (Partial Emoji) 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Methods

parseJSON :: Value -> Parser (Partial Emoji)

parseJSONList :: Value -> Parser [Partial Emoji]

ToJSON (Partial Channel) 
Instance details

Defined in Calamity.Types.Model.Channel

Methods

toJSON :: Partial Channel -> Value

toEncoding :: Partial Channel -> Encoding

toJSONList :: [Partial Channel] -> Value

toEncodingList :: [Partial Channel] -> Encoding

ToJSON (Partial Guild) 
Instance details

Defined in Calamity.Types.Model.Guild.Guild

Methods

toJSON :: Partial Guild -> Value

toEncoding :: Partial Guild -> Encoding

toJSONList :: [Partial Guild] -> Value

toEncodingList :: [Partial Guild] -> Encoding

ToJSON (Partial User) 
Instance details

Defined in Calamity.Types.Model.User

Methods

toJSON :: Partial User -> Value

toEncoding :: Partial User -> Encoding

toJSONList :: [Partial User] -> Value

toEncodingList :: [Partial User] -> Encoding

ToJSON (Partial Emoji) 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Methods

toJSON :: Partial Emoji -> Value

toEncoding :: Partial Emoji -> Encoding

toJSONList :: [Partial Emoji] -> Value

toEncodingList :: [Partial Emoji] -> Encoding

HasID Channel (Partial Channel) Source # 
Instance details

Defined in Calamity.Types.Model.Channel

HasID Guild (Partial Guild) Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Guild

HasID User (Partial User) Source # 
Instance details

Defined in Calamity.Types.Model.User

HasID Emoji (Partial Emoji) Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

data Partial Channel Source # 
Instance details

Defined in Calamity.Types.Model.Channel

data Partial Guild Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Guild

newtype Partial User Source # 
Instance details

Defined in Calamity.Types.Model.User

data Partial Emoji Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

type Rep (Partial Channel) Source # 
Instance details

Defined in Calamity.Types.Model.Channel

type Rep (Partial Guild) Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Guild

type Rep (Partial Guild) = D1 ('MetaData "Partial" "Calamity.Types.Model.Guild.Guild" "calamity-0.1.9.0-inplace" 'False) (C1 ('MetaCons "PartialGuild" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake Guild)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))
type Rep (Partial User) Source # 
Instance details

Defined in Calamity.Types.Model.User

type Rep (Partial User) = D1 ('MetaData "Partial" "Calamity.Types.Model.User" "calamity-0.1.9.0-inplace" 'True) (C1 ('MetaCons "PartialUser" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake User))))
type Rep (Partial Emoji) Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

type Rep (Partial Emoji) = D1 ('MetaData "Partial" "Calamity.Types.Model.Guild.Emoji" "calamity-0.1.9.0-inplace" 'False) (C1 ('MetaCons "PartialEmoji" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Snowflake Emoji)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

data RawEmoji Source #

Instances

Instances details
Eq RawEmoji Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Show RawEmoji Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Generic RawEmoji Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Associated Types

type Rep RawEmoji :: Type -> Type #

Methods

from :: RawEmoji -> Rep RawEmoji x #

to :: Rep RawEmoji x -> RawEmoji #

TextShow RawEmoji Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

FromJSON RawEmoji Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Methods

parseJSON :: Value -> Parser RawEmoji

parseJSONList :: Value -> Parser [RawEmoji]

ToJSON RawEmoji Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

Methods

toJSON :: RawEmoji -> Value

toEncoding :: RawEmoji -> Encoding

toJSONList :: [RawEmoji] -> Value

toEncodingList :: [RawEmoji] -> Encoding

type Rep RawEmoji Source # 
Instance details

Defined in Calamity.Types.Model.Guild.Emoji

type Rep RawEmoji = D1 ('MetaData "RawEmoji" "Calamity.Types.Model.Guild.Emoji" "calamity-0.1.9.0-inplace" 'False) (C1 ('MetaCons "UnicodeEmoji" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "CustomEmoji" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Partial Emoji))))