diff --git a/discord/poll.py b/discord/poll.py index 88ed5b534d2f..82fb64200a31 100644 --- a/discord/poll.py +++ b/discord/poll.py @@ -568,6 +568,5 @@ async def end(self) -> Self: if not self._message or not self._state: # Make type checker happy raise ClientException('This poll has no attached message.') - self._message = await self._message.end_poll() - - return self + message = await self._message.end_poll() + return message.poll