Skip to content

Commit 0162c70

Browse files
committed
fix missnamed creator json tag in emoji
1 parent 631c261 commit 0162c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

discord/emoji.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type Emoji struct {
1515
GuildID snowflake.ID `json:"guild_id,omitempty"` // not present in the API but we need it
1616
Name string `json:"name,omitempty"` // may be empty for deleted emojis
1717
Roles []snowflake.ID `json:"roles,omitempty"`
18-
Creator *User `json:"creator,omitempty"`
18+
Creator *User `json:"user,omitempty"`
1919
RequireColons bool `json:"require_colons,omitempty"`
2020
Managed bool `json:"managed,omitempty"`
2121
Animated bool `json:"animated,omitempty"`

0 commit comments

Comments
 (0)