Safe Haskell | None |
---|---|
Language | Haskell2010 |
Discord emojis
Documentation
Instances
data family Partial t Source #
Instances
Instances
Eq RawEmoji Source # | |
Show RawEmoji Source # | |
Generic RawEmoji Source # | |
ToJSON RawEmoji Source # | |
Defined in Calamity.Types.Model.Guild.Emoji | |
FromJSON RawEmoji Source # | |
TextShow RawEmoji Source # | |
ParameterParser RawEmoji c r | Parses both discord emojis, and unicode emojis |
Defined in Calamity.Commands.CalamityParsers type ParserResult RawEmoji parameterInfo :: ParameterInfo | |
type Rep RawEmoji Source # | |
Defined in Calamity.Types.Model.Guild.Emoji type Rep RawEmoji = D1 ('MetaData "RawEmoji" "Calamity.Types.Model.Guild.Emoji" "calamity-0.3.0.0-inplace" 'False) (C1 ('MetaCons "UnicodeEmoji" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :+: C1 ('MetaCons "CustomEmoji" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Partial Emoji)))) | |
type ParserResult RawEmoji | |
Defined in Calamity.Commands.CalamityParsers |
emojiAsRawEmoji :: Emoji -> RawEmoji Source #