Set main_poll_recursion time to 1 day

This commit is contained in:
officereso 2021-01-24 16:11:01 -06:00
parent dc5460954f
commit 7f2b0668a6

View File

@ -123,7 +123,7 @@ class McRoll(commands.Cog):
async def main_poll_recursion(self, choices, channelId):
self.pollMessageId = (await self.poll(choices, channelId)).id
scheduler.add_job(get_poll_results, 'date',
run_date=(datetime.now() + timedelta(seconds=10)),
run_date=(datetime.now() + timedelta(days=1)),
args=[choices, self.pollMessageId, channelId],
coalesce=True)