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
parent
d2b27d7edf
commit
05b38710c5
|
@ -8,5 +8,6 @@ const (
|
|||
PlayerApplicationID Field = "application_id"
|
||||
PlayerFirstSeen Field = "first_seen"
|
||||
PlayerLastSeen Field = "last_seen"
|
||||
PlayerDiscordID Field = "discord_id"
|
||||
PlayerLink = Link
|
||||
)
|
||||
|
|
|
@ -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:"-"`
|
||||
|
|
Loading…
Reference in New Issue