소스 검색

#554 Added locale to user struct

Shawn Toffel 6 년 전
부모
커밋
703389b219
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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"`