Changed Embed to Embeds in Webhook

This commit is contained in:
diamondburned (Forefront) 2020-01-23 22:05:09 -08:00
parent 7836c15cf8
commit 3154333310
1 changed files with 7 additions and 1 deletions

View File

@ -37,7 +37,13 @@ func (data *SendMessageData) WriteMultipart(
}
type ExecuteWebhookData struct {
SendMessageData
Content string `json:"content,omitempty"`
Nonce string `json:"nonce,omitempty"`
TTS bool `json:"tts"`
Embeds []discord.Embed `json:"embeds,omitempty"`
Files []SendMessageFile `json:"-"`
Username string `json:"username,omitempty"`
AvatarURL discord.URL `json:"avatar_url,omitempty"`