Merge branch 'iDevision:2.0' into 2.0

This commit is contained in:
Gnome!
2021-09-05 15:57:14 +01:00
committed by GitHub
42 changed files with 1033 additions and 247 deletions

View File

@@ -369,6 +369,17 @@ to handle it, which defaults to print a traceback and ignoring the exception.
:param when: When the typing started as an aware datetime in UTC.
:type when: :class:`datetime.datetime`
.. function:: on_raw_typing(payload)
Called when someone begins typing a message. Unlike :func:`on_typing`, this is
called regardless if the user can be found or not. This most often happens
when a user types in DMs.
This requires :attr:`Intents.typing` to be enabled.
:param payload: The raw typing payload.
:type payload: :class:`RawTypingEvent`
.. function:: on_message(message)
Called when a :class:`Message` is created and sent.
@@ -3781,6 +3792,22 @@ Template
.. autoclass:: Template()
:members:
WelcomeScreen
~~~~~~~~~~~~~~~
.. attributetable:: WelcomeScreen
.. autoclass:: WelcomeScreen()
:members:
WelcomeChannel
~~~~~~~~~~~~~~~
.. attributetable:: WelcomeChannel
.. autoclass:: WelcomeChannel()
:members:
WidgetChannel
~~~~~~~~~~~~~~~
@@ -3846,6 +3873,14 @@ GuildSticker
.. autoclass:: GuildSticker()
:members:
RawTypingEvent
~~~~~~~~~~~~~~~~~~~~~~~
.. attributetable:: RawTypingEvent
.. autoclass:: RawTypingEvent()
:members:
RawMessageDeleteEvent
~~~~~~~~~~~~~~~~~~~~~~~