Merge pull request #555 from shawntoffel/locale

#554 Added locale to user struct
This commit is contained in:
Bruce 2018-05-29 21:49:06 -05:00 committed by GitHub
commit 003b7cafd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"`