Pārlūkot izejas kodu

Merge pull request #863 from CinePlays/master

Add missing field in member struct
Carson Hoffman 4 gadi atpakaļ
vecāks
revīzija
1eb5da8a35
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      structs.go

+ 3 - 0
structs.go

@@ -778,6 +778,9 @@ type Member struct {
 
 	// When the user used their Nitro boost on the server
 	PremiumSince Timestamp `json:"premium_since"`
+
+	// Is true while the member hasn't accepted the membership screen.
+	Pending bool `json:"pending"`
 }
 
 // Mention creates a member mention