Add Discord ID to Player (#1)

Add Discord ID to Player

Signed-off-by: Etzelia <etzelia@hotmail.com>

Reviewed-on: https://git.canopymc.net/Etzelia/go-mcm/pulls/1
Co-Authored-By: Etzelia <etzelia@hotmail.com>
Co-Committed-By: Etzelia <etzelia@hotmail.com>
master
Etzelia 2021-07-20 23:43:32 +00:00
parent d2b27d7edf
commit 05b38710c5
2 changed files with 2 additions and 0 deletions

View File

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

View File

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