Due to discord limitations, it is not possible for instant-poll to automatically close a poll after more than 15 minutes (reliably) without the bot OAuth2 scope. When users try to use automatic closing after more than 15 minutes and the bot scope is missing, they should be informed that they need to give the bot this additional scope to make it work.
This check could be implemented upon poll creation by trying to send a request to some bot exclusive endpoint for that specific guild.
Due to discord limitations, it is not possible for
instant-poll
to automatically close a poll after more than 15 minutes (reliably) without thebot
OAuth2 scope. When users try to use automatic closing after more than 15 minutes and thebot
scope is missing, they should be informed that they need to give the bot this additional scope to make it work.This check could be implemented upon poll creation by trying to send a request to some
bot
exclusive endpoint for that specific guild.