From c6bc2eb45febcc974247482a9a7006d809ce260d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20DEM=C4=B0RC=C4=B0?= Date: Fri, 11 Mar 2022 06:12:40 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20KV=20Support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- types.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/types.go b/types.go index 961fb25..7f954a3 100644 --- a/types.go +++ b/types.go @@ -16,13 +16,14 @@ type LanyardWSResponse struct { } type LanyardData struct { - Spotify Spotify `json:"spotify"` - ListeningToSpotify bool `json:"listening_to_spotify"` - DiscordUser DiscordUser `json:"discord_user"` - DiscordStatus string `json:"discord_status"` - Activities []Activity `json:"activities"` - ActiveOnDiscordMobile bool `json:"active_on_discord_mobile"` - ActiveOnDiscordDesktop bool `json:"active_on_discord_desktop"` + Spotify Spotify `json:"spotify"` + ListeningToSpotify bool `json:"listening_to_spotify"` + DiscordUser DiscordUser `json:"discord_user"` + DiscordStatus string `json:"discord_status"` + Kv map[string]string `json:"kv"` + Activities []Activity `json:"activities"` + ActiveOnDiscordMobile bool `json:"active_on_discord_mobile"` + ActiveOnDiscordDesktop bool `json:"active_on_discord_desktop"` } type LanyardError struct {