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

@ -134,8 +134,7 @@ class Integration:
Deletes the integration.
You must have the :attr:`~Permissions.manage_guild` permission to
do this.
You must have :attr:`~Permissions.manage_guild` to do this.
Parameters
-----------
@ -231,8 +230,7 @@ class StreamIntegration(Integration):
Edits the integration.
You must have the :attr:`~Permissions.manage_guild` permission to
do this.
You must have :attr:`~Permissions.manage_guild` to do this.
.. versionchanged:: 2.0
This function will now raise :exc:`TypeError` instead of
@ -278,8 +276,7 @@ class StreamIntegration(Integration):
Syncs the integration.
You must have the :attr:`~Permissions.manage_guild` permission to
do this.
You must have :attr:`~Permissions.manage_guild` to do this.
Raises
-------