From 45083a6f154d4c50ea18b9ba5a7593f7138f1e82 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Mon, 1 Aug 2016 18:52:34 -0400 Subject: [PATCH] Document the new emoji stuff. --- docs/api.rst | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/api.rst b/docs/api.rst index 6841475ed..1e2b82cd4 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -280,7 +280,14 @@ to handle it, which defaults to print a traceback and ignore the exception. Called when a :class:`Role` is changed server-wide. :param before: The :class:`Role` that updated with the old info. - :param after: The :class:`Role` that updated with the updated info + :param after: The :class:`Role` that updated with the updated info. + +.. function:: on_server_emojis_update(before, after) + + Called when a :class:`Server` adds or removes :class:`Emoji`. + + :param before: A list of :class:`Emoji` before the update. + :param after: A list of :class:`Emoji` after the update. .. function:: on_server_available(server) on_server_unavailable(server) @@ -583,6 +590,12 @@ Game .. autoclass:: Game :members: +Emoji +~~~~~ + +.. autoclass:: Emoji + :members: + Role ~~~~~