From 89c44fb63c039c69b2956d303ca778061c82ffc9 Mon Sep 17 00:00:00 2001 From: Christopher F Date: Wed, 22 Aug 2018 20:49:33 -0400 Subject: [PATCH] fix: lavalink expects snowflakes to be a string --- model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model.go b/model.go index 5214f9b..e093d97 100644 --- a/model.go +++ b/model.go @@ -93,7 +93,7 @@ type state struct { // VoiceServerUpdate is a raw Discord VOICE_SERVER_UPDATE event type VoiceServerUpdate struct { - GuildID int `json:"guild_id"` + GuildID string `json:"guild_id"` Endpoint string `json:"endpoint"` Token string `json:"token"` }