struct Discord::Embed
- Discord::Embed
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
discordcr/mappings/channel.crConstructors
- .new(pull : JSON::PullParser)
- .new(title : String? = nil, type : String = "rich", description : String? = nil, url : String? = nil, timestamp : Time? = nil, colour : UInt32? = nil, footer : EmbedFooter? = nil, image : EmbedImage? = nil, thumbnail : EmbedThumbnail? = nil, author : EmbedAuthor? = nil, fields : Array(EmbedField)? = nil)
Instance Method Summary
- #author : EmbedAuthor?
- #author=(author : EmbedAuthor?)
- #color
- #colour : UInt32?
- #colour=(colour : UInt32?)
- #description : String?
- #description=(description : String?)
- #fields : Array(EmbedField)?
- #fields=(fields : Array(EmbedField)?)
- #footer : EmbedFooter?
- #footer=(footer : EmbedFooter?)
- #image : EmbedImage?
- #image=(image : EmbedImage?)
- #provider : EmbedProvider?
- #provider=(provider : EmbedProvider?)
- #thumbnail : EmbedThumbnail?
- #thumbnail=(thumbnail : EmbedThumbnail?)
- #timestamp : Time?
- #timestamp=(timestamp : Time?)
- #title : String?
- #title=(title : String?)
- #type : String
- #type=(type : String)
- #url : String?
- #url=(url : String?)
- #video : EmbedVideo?
- #video=(video : EmbedVideo?)