mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-04 08:56:19 +00:00
Fix permissions-based docstrings to be more consistent
This commit is contained in:
@ -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
|
||||
-------
|
||||
|
Reference in New Issue
Block a user