mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Allow pins events to work with threads
This commit is contained in:
1 parent
5ae7940ec8
commit
1152f67efc
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -654,7 +654,7 @@ to handle it, which defaults to print a traceback and ignoring the exception.
|
||||
This requires :attr:`Intents.guilds` to be enabled.
|
||||
|
||||
:param channel: The guild channel that had its pins updated.
|
||||
:type channel: :class:`abc.GuildChannel`
|
||||
:type channel: Union[:class:`abc.GuildChannel`, :class:`Thread`]
|
||||
:param last_pin: The latest message that was pinned as an aware datetime in UTC. Could be ``None``.
|
||||
:type last_pin: Optional[:class:`datetime.datetime`]
|
||||
|
||||
|
||||
Reference in new issue
Block a user