Fix permissions-based docstrings to be more consistent

This commit is contained in:
Steve C
2022-09-17 14:07:39 -04:00
committed by GitHub
parent a53b609e37
commit ce06beeb6c
19 changed files with 104 additions and 155 deletions

View File

@ -618,7 +618,7 @@ Guilds
.. function:: on_invite_create(invite)
Called when an :class:`Invite` is created.
You must have the :attr:`~Permissions.manage_channels` permission to receive this.
You must have :attr:`~Permissions.manage_channels` to receive this.
.. versionadded:: 1.3
@ -635,7 +635,7 @@ Guilds
.. function:: on_invite_delete(invite)
Called when an :class:`Invite` is deleted.
You must have the :attr:`~Permissions.manage_channels` permission to receive this.
You must have :attr:`~Permissions.manage_channels` to receive this.
.. versionadded:: 1.3