Add on_message_delete event and Client.messages attribute.

This commit is contained in:
Rapptz
2015-08-21 18:55:57 -04:00
parent a90e804192
commit f580441c10
3 changed files with 45 additions and 2 deletions

View File

@ -38,6 +38,12 @@ This page outlines the different types of events listened to by :meth:`Client.ev
:param response: The received message response after gone through ``json.loads``.
.. function:: on_message_delete(message)
Called when a message is deleted from any given server.
:param message: A :class:`Message` of the deleted message.
Data Classes
--------------