fix: remove embedfield omitempty (#1262)
Remove omitempty from Name/value since the Discord API requires both to be submitted. Fixes: #726
This commit is contained in:
parent
20aaca3b40
commit
86539504d9
1 changed files with 2 additions and 2 deletions
|
@ -389,8 +389,8 @@ type MessageEmbedAuthor struct {
|
|||
|
||||
// MessageEmbedField is a part of a MessageEmbed struct.
|
||||
type MessageEmbedField struct {
|
||||
Name string `json:"name,omitempty"`
|
||||
Value string `json:"value,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Value string `json:"value"`
|
||||
Inline bool `json:"inline,omitempty"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue