mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-02-11 14:02:58 +00:00
api: Use MessageFlags const
This commit is contained in:
parent
f5b3e3972b
commit
a7d87a7dd0
|
@ -331,7 +331,8 @@ func (c *Client) EditMessage(
|
||||||
Embed: embed,
|
Embed: embed,
|
||||||
}
|
}
|
||||||
if suppressEmbeds {
|
if suppressEmbeds {
|
||||||
data.Flags = &discord.SuppressEmbeds
|
v := discord.SuppressEmbeds
|
||||||
|
data.Flags = &v
|
||||||
}
|
}
|
||||||
|
|
||||||
return c.EditMessageComplex(channelID, messageID, data)
|
return c.EditMessageComplex(channelID, messageID, data)
|
||||||
|
|
Loading…
Reference in a new issue