forked from pothtonswer/discordmuffin
Add replied_user to MessageAllowedMentions (#1175)
This commit is contained in:
parent
466321bed6
commit
e1f154bfe7
1 changed files with 3 additions and 0 deletions
|
@ -321,6 +321,9 @@ type MessageAllowedMentions struct {
|
||||||
// A list of user IDs to allow. This cannot be used when specifying
|
// A list of user IDs to allow. This cannot be used when specifying
|
||||||
// AllowedMentionTypeUsers in the Parse slice.
|
// AllowedMentionTypeUsers in the Parse slice.
|
||||||
Users []string `json:"users,omitempty"`
|
Users []string `json:"users,omitempty"`
|
||||||
|
|
||||||
|
// For replies, whether to mention the author of the message being replied to
|
||||||
|
RepliedUser bool `json:"replied_user"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// A MessageAttachment stores data for message attachments.
|
// A MessageAttachment stores data for message attachments.
|
||||||
|
|
Loading…
Reference in a new issue