1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2025-02-10 21:43:16 +00:00

api: Use MessageFlags const

This commit is contained in:
unknown 2021-05-21 07:14:38 +01:00 committed by diamondburned
parent f5b3e3972b
commit a7d87a7dd0

View file

@ -331,7 +331,8 @@ func (c *Client) EditMessage(
Embed: embed,
}
if suppressEmbeds {
data.Flags = &discord.SuppressEmbeds
v := discord.SuppressEmbeds
data.Flags = &v
}
return c.EditMessageComplex(channelID, messageID, data)