Skip to content

Commit

Permalink
Merge pull request #555 from shawntoffel/locale
Browse files Browse the repository at this point in the history
#554 Added locale to user struct
  • Loading branch information
bwmarrin authored May 30, 2018
2 parents bb42325 + 703389b commit 003b7ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions user.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ type User struct {
// to retrieve the avatar itself.
Avatar string `json:"avatar"`

// The user's chosen language option.
Locale string `json:"locale"`

// The discriminator of the user (4 numbers after name).
Discriminator string `json:"discriminator"`

Expand Down

0 comments on commit 003b7ca

Please sign in to comment.