Skip to content

Commit f13f111

Browse files
pre-commit-ci[bot]AstreaTSS
authored andcommitted
ci: correct from checks.
1 parent ae2b49e commit f13f111

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

interactions/models/discord/message.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,10 @@
7272
)
7373

7474
channel_mention = re.compile(r"<#(?P<id>[0-9]{17,})>")
75-
75+
7676

7777
class PollAnswerVotersIterator(AsyncIterator):
78-
def __init__(
79-
self, message: "Message", answer_id: int, limit: int = 25, after: Snowflake_Type | None = None
80-
) -> None:
78+
def __init__(self, message: "Message", answer_id: int, limit: int = 25, after: Snowflake_Type | None = None) -> None:
8179
self.message: "Message" = message
8280
self.answer_id = answer_id
8381
self.after: Snowflake_Type | None = after
@@ -677,10 +675,8 @@ def jump_url(self) -> str:
677675
def proto_url(self) -> str:
678676
"""A URL like `jump_url` that uses protocols."""
679677
return f"discord://-/channels/{self._guild_id or '@me'}/{self._channel_id}/{self.id}"
680-
681-
def answer_voters(
682-
self, answer_id: int, limit: int = 0, before: Snowflake_Type | None = None
683-
) -> PollAnswerVotersIterator:
678+
679+
def answer_voters(self, answer_id: int, limit: int = 0, before: Snowflake_Type | None = None) -> PollAnswerVotersIterator:
684680
"""
685681
An async iterator for getting the voters for an answer in the poll this message has.
686682

0 commit comments

Comments
 (0)