discord-api-docs
discord-api-docs copied to clipboard
Polls not finalizing?
Description
I have a bot that once a day posts some polls, sleeps until they are expired, checks is_finalized repeatedly (with an increasing delay) until it is true, then uses the results from the poll. The polls that were posted yesterday expired at 11pm Eastern Time and have a grand total of seven votes, but the API is still reporting them as not finalized. Previously they have worked fine.
Steps to Reproduce
The polls were created with a POST to /channels/<channel_id>/messages with the duration set to 23 hours. It has been much more than 23 hours, and I am retrieving the polls via a GET to /channels/<channel_id>/messages/<message_id>.
Expected Behavior
is_finalized gets set to true within a reasonable amount of time
Current Behavior
is_finalized is still false after 16 hours, with only 7 voters and around 20 people in the server.
Screenshots/Videos
Client and System Information
I am running Debian, and using the HTTP API via libcurl.