Skip to content

Commit

Permalink
style(pre-commit): auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed May 26, 2024
1 parent 6600023 commit 74135c0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions discord/poll.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ def total_votes(self) -> int:
"""
Get the total number of votes across all answers. This may not be accurate if :attr:`is_finalized` is ``False``.
Returns
-------
:class:`int`
Expand All @@ -317,7 +316,6 @@ def total_votes(self) -> int:
class Poll:
"""Represents a Poll. Polls are sent in regular messages, and you must have :attr:`~discord.Permissions.send_polls` to send them.
.. versionadded:: 2.6
Attributes
Expand Down Expand Up @@ -501,7 +499,6 @@ async def end(self) -> Message:
Immediately ends this poll, if attached to a message. Only doable by the poll's owner.
Shortcut to :meth:`Message.end_poll`
Returns
-------
:class:`Message`
Expand Down

0 comments on commit 74135c0

Please sign in to comment.