Add support for burst reactions

This commit is contained in:
Rapptz
2023-09-19 00:05:55 -04:00
parent 5126323640
commit 97ae6409b0
5 changed files with 77 additions and 3 deletions

View File

@ -1029,6 +1029,12 @@ Reactions
Consider using :func:`on_raw_reaction_add` if you need this and do not otherwise want
to enable the members intent.
.. warning::
This event does not have a way of differentiating whether a reaction is a
burst reaction (also known as "super reaction") or not. If you need this,
consider using :func:`on_raw_reaction_add` instead.
:param reaction: The current state of the reaction.
:type reaction: :class:`Reaction`
:param user: The user who added the reaction.
@ -1051,6 +1057,12 @@ Reactions
Consider using :func:`on_raw_reaction_remove` if you need this and do not want
to enable the members intent.
.. warning::
This event does not have a way of differentiating whether a reaction is a
burst reaction (also known as "super reaction") or not. If you need this,
consider using :func:`on_raw_reaction_remove` instead.
:param reaction: The current state of the reaction.
:type reaction: :class:`Reaction`
:param user: The user whose reaction was removed.