1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-09-28 21:29:25 +00:00

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

View file

@ -37,7 +37,13 @@ func (data *SendMessageData) WriteMultipart(
} }
type ExecuteWebhookData struct { 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"` Username string `json:"username,omitempty"`
AvatarURL discord.URL `json:"avatar_url,omitempty"` AvatarURL discord.URL `json:"avatar_url,omitempty"`