From c11dfbca6d38c6170b46d5ec9fc8ca13867e827b Mon Sep 17 00:00:00 2001 From: the-white-light Date: Fri, 7 Feb 2020 17:37:34 -0500 Subject: [PATCH] on_invite_create requires Manage Channels Event on_invite_create (and presumably _delete) require Manage Channels permission. --- docs/api.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/api.rst b/docs/api.rst index d1c6f8c30..1ba9b2f8c 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -649,6 +649,7 @@ to handle it, which defaults to print a traceback and ignoring the exception. .. function:: on_invite_create(invite) Called when an :class:`Invite` is created. + You must have the :attr:`~Permissions.manage_channels` permission to receive this. .. versionadded:: 1.3 @@ -663,6 +664,7 @@ to handle it, which defaults to print a traceback and ignoring the exception. .. function:: on_invite_delete(invite) Called when an :class:`Invite` is deleted. + You must have the :attr:`~Permissions.manage_channels` permission to receive this. .. versionadded:: 1.3