Merge pull request #794 from redbluescreen/webhook-allowedmentions

Add AllowedMentions for webhooks
This commit is contained in:
Carson Hoffman 2020-07-25 17:42:26 -04:00 committed by GitHub
commit c8139ccde3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1077,6 +1077,7 @@ type WebhookParams struct {
TTS bool `json:"tts,omitempty"`
File string `json:"file,omitempty"`
Embeds []*MessageEmbed `json:"embeds,omitempty"`
AllowedMentions *MessageAllowedMentions `json:"allowed_mentions,omitempty"`
}
// MessageReaction stores the data for a message reaction.