package message type ( // Payload that will be sent to Discord. payload struct { TTS bool `json:"tts"` Wait bool `json:"wait"` AvatarURL string `json:"avatar_url"` Content string `json:"content"` Username string `json:"username"` Embeds []EmbedObject `json:"embeds"` } // EmbedFooterObject for Embed Footer Structure. EmbedFooterObject struct { Text string `json:"text"` IconURL string `json:"icon_url"` } // EmbedAuthorObject for Embed Author Structure EmbedAuthorObject struct { Name string `json:"name"` URL string `json:"url"` IconURL string `json:"icon_url"` } // EmbedFieldObject for Embed Field Structure EmbedFieldObject struct { Name string `json:"name"` Value string `json:"value"` } // EmbedObject is for Embed Structure EmbedObject struct { Title string `json:"title"` Description string `json:"description"` URL string `json:"url"` Color int64 `json:"color"` Footer EmbedFooterObject `json:"footer"` Author EmbedAuthorObject `json:"author"` Fields []EmbedFieldObject `json:"fields"` } )