From e362b1008468e367c1df415fa8cb555a5f7259be Mon Sep 17 00:00:00 2001 From: mavolin <48887425+mavolin@users.noreply.github.com> Date: Fri, 15 May 2020 19:14:37 +0200 Subject: [PATCH] API: update docs --- api/message.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api/message.go b/api/message.go index 94d545c..8b04271 100644 --- a/api/message.go +++ b/api/message.go @@ -152,7 +152,8 @@ type EditMessageData struct { // Content is the new message contents (up to 2000 characters). Content option.NullableString `json:"content,omitempty"` // Embed contains embedded rich content. - Embed *discord.Embed `json:"embed,omitempty"` + Embed *discord.Embed `json:"embed,omitempty"` + // AllowedMentions are the allowed mentions for a message. AllowedMentions *AllowedMentions `json:"allowed_mentions,omitempty"` // Flags edits the flags of a message (only SUPPRESS_EMBEDS can currently // be set/unset) @@ -161,7 +162,7 @@ type EditMessageData struct { Flags *discord.MessageFlags `json:"flags,omitempty"` } -// EditMessage edits a previously sent message. For more documentation, erfer to +// EditMessage edits a previously sent message. For more documentation, refer to // EditMessageComplex. func (c *Client) EditMessage( channelID, messageID discord.Snowflake, content string,