Remove outdated leftover comment about polls

This commit is contained in:
Rapptz 2024-08-31 08:32:52 -04:00
parent 733c583b72
commit 66d74054dd

View File

@ -1843,8 +1843,6 @@ class Message(PartialMessage, Hashable):
self.application_id: Optional[int] = utils._get_as_snowflake(data, 'application_id')
self.stickers: List[StickerItem] = [StickerItem(data=d, state=state) for d in data.get('sticker_items', [])]
# This updates the poll so it has the counts, if the message
# was previously cached.
self.poll: Optional[Poll] = None
try:
self.poll = Poll._from_data(data=data['poll'], message=self, state=state)