mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-02 00:00:02 +00:00
Remove outdated leftover comment about polls
This commit is contained in:
parent
733c583b72
commit
66d74054dd
@ -1843,8 +1843,6 @@ class Message(PartialMessage, Hashable):
|
|||||||
self.application_id: Optional[int] = utils._get_as_snowflake(data, 'application_id')
|
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', [])]
|
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
|
self.poll: Optional[Poll] = None
|
||||||
try:
|
try:
|
||||||
self.poll = Poll._from_data(data=data['poll'], message=self, state=state)
|
self.poll = Poll._from_data(data=data['poll'], message=self, state=state)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user