mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Fix permissions-based docstrings to be more consistent
This commit is contained in:
1 parent
a53b609e37
commit
ce06beeb6c
19 files changed
+104
-155
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user