From ff638d393d0f5a83639ccc087bec9bf588b59a22 Mon Sep 17 00:00:00 2001 From: DA344 <108473820+DA-344@users.noreply.github.com> Date: Mon, 22 Jul 2024 01:15:38 +0200 Subject: [PATCH] Fix Polls limiting duration at 7 days --- discord/poll.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/discord/poll.py b/discord/poll.py index c523f1609..7dc3897ac 100644 --- a/discord/poll.py +++ b/discord/poll.py @@ -388,9 +388,6 @@ class Poll: # self.created_at = message.created_at # duration = self.created_at - expiry - if (duration.total_seconds() / 3600) > 168: # As the duration may exceed little milliseconds then we fix it - duration = datetime.timedelta(days=7) - self = cls( duration=duration, multiple=multiselect,