Skip to content

Commit

Permalink
make Expiry a pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
sebm253 committed Apr 15, 2024
1 parent c7e441c commit d2c169d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/poll.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
type Poll struct {
Question PollMedia `json:"question"`
Answers []PollAnswer `json:"answers"`
Expiry time.Time `json:"expiry"`
Expiry *time.Time `json:"expiry"`
AllowMultiselect bool `json:"allow_multiselect"`
LayoutType PollLayoutType `json:"layout_type"`
Results []PollResults `json:"results"`
Expand Down

0 comments on commit d2c169d

Please sign in to comment.