Browse Source

#554 Added locale to user struct

Shawn Toffel 6 years ago
parent
commit
703389b219
1 changed files with 3 additions and 0 deletions
  1. 3 0
      user.go

+ 3 - 0
user.go

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