aboutsummaryrefslogtreecommitdiff
path: root/docs/api.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api.rst')
-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`]