From 92c3c2804d7f543adf1f17d17ac28455b07d3575 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 21 Nov 2016 02:49:50 -0500 Subject: Support MESSAGE_REACTION_REMOVE_ALL event. --- docs/api.rst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/api.rst') diff --git a/docs/api.rst b/docs/api.rst index bd2cf40c..8bc09e93 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -233,6 +233,15 @@ to handle it, which defaults to print a traceback and ignore the exception. :param reaction: A :class:`Reaction` showing the current state of the reaction. :param user: A :class:`User` or :class:`Member` of the user who removed the reaction. +.. function:: on_reaction_clear(message, reactions) + + Called when a message has all its reactions removed from it. Similar to on_message_edit, + if the message is not found in the :attr:`Client.messages` cache, then this event + will not be called. + + :param message: The :class:`Message` that had its reactions cleared. + :param reactions: A list of :class:`Reaction`\s that were removed. + .. function:: on_channel_delete(channel) on_channel_create(channel) -- cgit v1.2.3