Explorar el Código

Changed Member.JoinedAt to type Timestamp

It was previously just string, but has been updated to be consistent with the other structs.
Unknown hace 6 años
padre
commit
9c1fd5d8a9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"`