Browse Source

on_invite_create requires Manage Channels

Event on_invite_create (and presumably _delete) require Manage Channels permission.
pull/2606/head
the-white-light 5 years ago
committed by Rapptz
parent
commit
c11dfbca6d
  1. 2
      docs/api.rst

2
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

Loading…
Cancel
Save