Skip to content

Commit

Permalink
fix missnamed creator json tag in emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Nov 7, 2023
1 parent 631c261 commit 0162c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/emoji.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type Emoji struct {
GuildID snowflake.ID `json:"guild_id,omitempty"` // not present in the API but we need it
Name string `json:"name,omitempty"` // may be empty for deleted emojis
Roles []snowflake.ID `json:"roles,omitempty"`
Creator *User `json:"creator,omitempty"`
Creator *User `json:"user,omitempty"`
RequireColons bool `json:"require_colons,omitempty"`
Managed bool `json:"managed,omitempty"`
Animated bool `json:"animated,omitempty"`
Expand Down

0 comments on commit 0162c70

Please sign in to comment.