diff options
| author | the-white-light <[email protected]> | 2020-02-07 17:37:34 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-02-22 19:04:39 -0500 |
| commit | c11dfbca6d38c6170b46d5ec9fc8ca13867e827b (patch) | |
| tree | 414db7caa0bc27694a8f8907a6a976afefd7bf7b /docs | |
| parent | Fix Webhook.send returning an empty string when wait=False (diff) | |
| download | discord.py-c11dfbca6d38c6170b46d5ec9fc8ca13867e827b.tar.xz discord.py-c11dfbca6d38c6170b46d5ec9fc8ca13867e827b.zip | |
on_invite_create requires Manage Channels
Event on_invite_create (and presumably _delete) require Manage Channels permission.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst index d1c6f8c3..1ba9b2f8 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 |