Browse Source

Changed Member.JoinedAt to type Timestamp

It was previously just string, but has been updated to be consistent with the other structs.
Unknown 6 years ago
parent
commit
9c1fd5d8a9
1 changed files with 1 additions and 1 deletions
  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"`