Class
EmbedBuilder
No overview available.
Declaration
class EmbedBuilder
Topics
Structures
Initializers
init()
Creates an Embed Structure
Instance Properties
var author: EmbedBuilder.Author?
Author dictionary from embed
var color: Int?
Side panel color of embed
var description: String?
Description of the embed
var fields: [EmbedBuilder.Field]?
Fields for the embed
var footer: EmbedBuilder.Footer?
Footer dictionary from embed
var image: EmbedBuilder.Image?
Image data from embed
var thumbnail: EmbedBuilder.Thumbnail?
Thumbnail data from embed
var title: String?
Title of the embed
var type: String
Type of embed | Discord says this should be considered deprecated. As such we set as rich
var url: String?
URL of the embed
var video: EmbedBuilder.Video?
Video data from embed
Instance Methods
func addField(String, value: String, isInline: Bool) -> Self
Adds a field to the embed