Add AllowedMentions field to WebhookParams
This commit is contained in:
parent
928baab30a
commit
ea94122b57
1 changed files with 7 additions and 6 deletions
|
@ -1077,6 +1077,7 @@ type WebhookParams struct {
|
||||||
TTS bool `json:"tts,omitempty"`
|
TTS bool `json:"tts,omitempty"`
|
||||||
File string `json:"file,omitempty"`
|
File string `json:"file,omitempty"`
|
||||||
Embeds []*MessageEmbed `json:"embeds,omitempty"`
|
Embeds []*MessageEmbed `json:"embeds,omitempty"`
|
||||||
|
AllowedMentions *MessageAllowedMentions `json:"allowed_mentions,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// MessageReaction stores the data for a message reaction.
|
// MessageReaction stores the data for a message reaction.
|
||||||
|
|
Loading…
Reference in a new issue