Skip to content

Commit cd6fe35

Browse files
style(pre-commit): auto fixes from pre-commit.com hooks
1 parent 9f24761 commit cd6fe35

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

discord/iterators.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,19 @@
3838
TypeVar,
3939
Union,
4040
)
41+
4142
from typing_extensions import Self
4243

4344
from .audit_logs import AuditLogEntry
4445
from .errors import NoMoreItems
4546
from .object import Object
46-
from .utils import maybe_coroutine, snowflake_time, time_snowflake, warn_deprecated, MISSING
47+
from .utils import (
48+
MISSING,
49+
maybe_coroutine,
50+
snowflake_time,
51+
time_snowflake,
52+
warn_deprecated,
53+
)
4754

4855
__all__ = (
4956
"ReactionIterator",
@@ -1339,7 +1346,7 @@ async def fill_messages(self):
13391346
# "Clients should not rely on the length of the `messages` array to paginate results"
13401347
self.limit = 0 # terminate the infinite loop
13411348

1342-
threads = data.get("threads", [])
1349+
data.get("threads", [])
13431350
members = data.get("members", []) # do something here
13441351

13451352
for element in data["messages"]:

0 commit comments

Comments
 (0)