Create a poll with 2 to 20 options. maxChoices cannot exceed the option count; closesAt must follow opensAt.
Delete a poll with its options and votes.
Full counts, whatever the poll's resultsVisibility.
Every poll, drafts included, newest first, with full counts.
Edit a poll; send only what changes. options REPLACES the list: send an existing option's optionId
to keep it (and its votes). Removing an option that has votes is
{ status: 409, error: { code: 'option_has_votes', optionIds } } unless force: true, which deletes them.
Site polls - the developers' side. Every method is developer-only (403 otherwise) and NOT behind the
sitePollsflag, so polls can be drafted before launch.Publishing with
postToDiscordposts the poll to the site-updates Discord webhook ONCE (only if the server has one configured);postedToDiscordAtsays when. Unpublishing and publishing again never posts twice.