From 791bf45ce709633184a471446328ca4f9efee63e Mon Sep 17 00:00:00 2001 From: mlnrDev Date: Tue, 7 May 2024 13:04:41 +0200 Subject: [PATCH] Fix incorrect type of ID in PollAnswerCount --- discord/poll.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/discord/poll.go b/discord/poll.go index 03f1e019..d54d9547 100644 --- a/discord/poll.go +++ b/discord/poll.go @@ -4,7 +4,6 @@ import ( "time" "github.com/disgoorg/json" - "github.com/disgoorg/snowflake/v2" ) type Poll struct { @@ -58,9 +57,9 @@ type PollResults struct { } type PollAnswerCount struct { - ID snowflake.ID `json:"id"` - Count int `json:"count"` - MeVoted bool `json:"me_voted"` + ID int `json:"id"` + Count int `json:"count"` + MeVoted bool `json:"me_voted"` } type PollLayoutType int