mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-05 19:57:02 +00:00
api: Don't omitempty SendMessageData.Flags
This might fix Discord pings not working. AFAIK Discord might have changed the defaults which might have broken some of our bots. Bots that want to set flags should explicitly do so. We're not supporting Discord's defaults.
This commit is contained in:
parent
61f2ed7363
commit
c07f574558
|
@ -121,7 +121,7 @@ type SendMessageData struct {
|
|||
Reference *discord.MessageReference `json:"message_reference,omitempty"`
|
||||
|
||||
// Flags specifies the message flags to set (only `SuppressEmbeds` and `SuppressNotifications` can be set).
|
||||
Flags discord.MessageFlags `json:"flags,omitempty"`
|
||||
Flags discord.MessageFlags `json:"flags"`
|
||||
}
|
||||
|
||||
// NeedsMultipart returns true if the SendMessageData has files.
|
||||
|
|
Loading…
Reference in a new issue