Changed Member.JoinedAt to type Timestamp

It was previously just string, but has been updated to be consistent with the other structs.
This commit is contained in:
Unknown 2018-07-31 15:32:29 -05:00
parent 1593c55523
commit 9c1fd5d8a9

View file

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