mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-12-01 03:03:48 +00:00
Changed Embed to Embeds in Webhook
This commit is contained in:
parent
7836c15cf8
commit
3154333310
|
@ -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"`
|
||||
|
|
Loading…
Reference in a new issue