Procházet zdrojové kódy

Changed Member.JoinedAt to type Timestamp

It was previously just string, but has been updated to be consistent with the other structs.
Unknown před 6 roky
rodič
revize
9c1fd5d8a9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      structs.go

+ 1 - 1
structs.go

@@ -597,7 +597,7 @@ type Member struct {
 	GuildID string `json:"guild_id"`
 
 	// The time at which the member joined the guild, in ISO8601.
-	JoinedAt string `json:"joined_at"`
+	JoinedAt Timestamp `json:"joined_at"`
 
 	// The nickname of the member, if they have one.
 	Nick string `json:"nick"`