Skip to content

Commit

Permalink
Update disnake/poll.py
Browse files Browse the repository at this point in the history
Co-authored-by: shiftinv <[email protected]>
Signed-off-by: Snipy7374 <[email protected]>
  • Loading branch information
Snipy7374 and shiftinv authored Aug 20, 2024
1 parent 38d265f commit 15432e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disnake/poll.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def __init__(self, media: PollMedia) -> None:
self.self_voted: bool = False

def __repr__(self) -> str:
return f"<{self.__class__.__name__} poll_media={self.media!r}>"
return f"<{self.__class__.__name__} media={self.media!r}>"

@classmethod
def from_dict(cls, state: ConnectionState, data: PollAnswerPayload) -> PollAnswer:
Expand Down

0 comments on commit 15432e9

Please sign in to comment.