Add Discord ID to Player #1

Merged
Etzelia merged 1 commits from refs/pull/1/head into master 2021-07-20 23:43:32 +00:00
2 changed files with 2 additions and 0 deletions

View File

@ -8,5 +8,6 @@ const (
PlayerApplicationID Field = "application_id" PlayerApplicationID Field = "application_id"
PlayerFirstSeen Field = "first_seen" PlayerFirstSeen Field = "first_seen"
PlayerLastSeen Field = "last_seen" PlayerLastSeen Field = "last_seen"
PlayerDiscordID Field = "discord_id"
PlayerLink = Link PlayerLink = Link
) )

View File

@ -15,6 +15,7 @@ type Player struct {
ApplicationID int64 `json:"application_id"` ApplicationID int64 `json:"application_id"`
FirstSeen string `json:"first_seen"` FirstSeen string `json:"first_seen"`
LastSeen string `json:"last_seen"` LastSeen string `json:"last_seen"`
DiscordID string `json:"discord_id"`
Link string `json:"link"` Link string `json:"link"`
model *Model `json:"-"` model *Model `json:"-"`