Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data structures pertaining to Discord Embed
Synopsis
- createEmbed :: CreateEmbed -> Embed
- data CreateEmbed = CreateEmbed {
- createEmbedAuthorName :: Text
- createEmbedAuthorUrl :: Text
- createEmbedAuthorIcon :: Maybe CreateEmbedImage
- createEmbedTitle :: Text
- createEmbedUrl :: Text
- createEmbedThumbnail :: Maybe CreateEmbedImage
- createEmbedDescription :: Text
- createEmbedFields :: [EmbedField]
- createEmbedImage :: Maybe CreateEmbedImage
- createEmbedFooterText :: Text
- createEmbedFooterIcon :: Maybe CreateEmbedImage
- data CreateEmbedImage
- data Embed = Embed {
- embedAuthor :: Maybe EmbedAuthor
- embedTitle :: Maybe Text
- embedUrl :: Maybe Text
- embedThumbnail :: Maybe EmbedThumbnail
- embedDescription :: Maybe Text
- embedFields :: [EmbedField]
- embedImage :: Maybe EmbedImage
- embedFooter :: Maybe EmbedFooter
- embedColor :: Maybe Integer
- embedTimestamp :: Maybe UTCTime
- embedType :: Maybe Text
- embedVideo :: Maybe EmbedVideo
- embedProvider :: Maybe EmbedProvider
- data EmbedThumbnail = EmbedThumbnail {}
- data EmbedVideo = EmbedVideo {}
- data EmbedImage = EmbedImage {}
- data EmbedProvider = EmbedProvider {}
- data EmbedAuthor = EmbedAuthor {}
- data EmbedFooter = EmbedFooter {}
- data EmbedField = EmbedField {}
Documentation
createEmbed :: CreateEmbed -> Embed Source #
data CreateEmbed Source #
Instances
Eq CreateEmbed Source # | |
Defined in Discord.Internal.Types.Embed (==) :: CreateEmbed -> CreateEmbed -> Bool # (/=) :: CreateEmbed -> CreateEmbed -> Bool # | |
Ord CreateEmbed Source # | |
Defined in Discord.Internal.Types.Embed compare :: CreateEmbed -> CreateEmbed -> Ordering # (<) :: CreateEmbed -> CreateEmbed -> Bool # (<=) :: CreateEmbed -> CreateEmbed -> Bool # (>) :: CreateEmbed -> CreateEmbed -> Bool # (>=) :: CreateEmbed -> CreateEmbed -> Bool # max :: CreateEmbed -> CreateEmbed -> CreateEmbed # min :: CreateEmbed -> CreateEmbed -> CreateEmbed # | |
Show CreateEmbed Source # | |
Defined in Discord.Internal.Types.Embed showsPrec :: Int -> CreateEmbed -> ShowS # show :: CreateEmbed -> String # showList :: [CreateEmbed] -> ShowS # | |
Default CreateEmbed Source # | |
Defined in Discord.Internal.Types.Embed def :: CreateEmbed # |
data CreateEmbedImage Source #
Instances
Eq CreateEmbedImage Source # | |
Defined in Discord.Internal.Types.Embed (==) :: CreateEmbedImage -> CreateEmbedImage -> Bool # (/=) :: CreateEmbedImage -> CreateEmbedImage -> Bool # | |
Ord CreateEmbedImage Source # | |
Defined in Discord.Internal.Types.Embed compare :: CreateEmbedImage -> CreateEmbedImage -> Ordering # (<) :: CreateEmbedImage -> CreateEmbedImage -> Bool # (<=) :: CreateEmbedImage -> CreateEmbedImage -> Bool # (>) :: CreateEmbedImage -> CreateEmbedImage -> Bool # (>=) :: CreateEmbedImage -> CreateEmbedImage -> Bool # max :: CreateEmbedImage -> CreateEmbedImage -> CreateEmbedImage # min :: CreateEmbedImage -> CreateEmbedImage -> CreateEmbedImage # | |
Show CreateEmbedImage Source # | |
Defined in Discord.Internal.Types.Embed showsPrec :: Int -> CreateEmbedImage -> ShowS # show :: CreateEmbedImage -> String # showList :: [CreateEmbedImage] -> ShowS # |
An embed attached to a message.
Embed | |
|
data EmbedThumbnail Source #
Instances
data EmbedVideo Source #
Instances
data EmbedImage Source #
Instances
data EmbedProvider Source #
Instances
data EmbedAuthor Source #
Instances
data EmbedField Source #