aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-05-23 22:23:40 -0400
committerRapptz <[email protected]>2021-06-08 07:29:17 -0400
commit1152f67efc9142072e82fe76d307729839dadca9 (patch)
tree58f4fccd672d33030658ce1a10f8fb9b08d22cc3 /docs
parentAdd message purging functions to Thread (diff)
downloaddiscord.py-1152f67efc9142072e82fe76d307729839dadca9.tar.xz
discord.py-1152f67efc9142072e82fe76d307729839dadca9.zip
Allow pins events to work with threads
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 395de477..0aeea2f7 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -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`]