Skip to content

Commit 791bf45

Browse files
author
mlnrDev
committed
Fix incorrect type of ID in PollAnswerCount
1 parent abe9a44 commit 791bf45

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

discord/poll.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"time"
55

66
"github.com/disgoorg/json"
7-
"github.com/disgoorg/snowflake/v2"
87
)
98

109
type Poll struct {
@@ -58,9 +57,9 @@ type PollResults struct {
5857
}
5958

6059
type PollAnswerCount struct {
61-
ID snowflake.ID `json:"id"`
62-
Count int `json:"count"`
63-
MeVoted bool `json:"me_voted"`
60+
ID int `json:"id"`
61+
Count int `json:"count"`
62+
MeVoted bool `json:"me_voted"`
6463
}
6564

6665
type PollLayoutType int

0 commit comments

Comments
 (0)