Skip to content

Commit 206ef0f

Browse files
committed
docs: Fix deprecation entry and delay removal to 2.9
1 parent 8b6e686 commit 206ef0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

discord/iterators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,8 +1296,8 @@ async def retrieve_inner(self) -> list[Message]:
12961296
return [p.message for p in pins]
12971297

12981298
@deprecated(
1299-
"Messageable.pins() returning a list of Message is deprecated since version 2.7 and will be removed in 2.8."
1300-
+ "See the documentation of Messageable.pins() for more information."
1299+
"Messageable.pins() returning a list of Message is deprecated since version 2.7 and will be removed in 2.9."
1300+
+ " See the documentation of Messageable.pins() for more information."
13011301
)
13021302
def __await__(self) -> Generator[Any, Any, list[Message]]:
13031303
return self.retrieve_inner().__await__()

0 commit comments

Comments
 (0)