First pass at documentation reform.
This commit is contained in:
@ -566,7 +566,7 @@ class Guild(Hashable):
|
||||
|
||||
Edits the guild.
|
||||
|
||||
You must have the :attr:`Permissions.manage_guild` permission
|
||||
You must have the :attr:`~Permissions.manage_guild` permission
|
||||
to edit the guild.
|
||||
|
||||
Parameters
|
||||
@ -671,7 +671,7 @@ class Guild(Hashable):
|
||||
that got banned along with a ``reason`` field specifying
|
||||
why the user was banned that could be set to ``None``.
|
||||
|
||||
You must have :attr:`Permissions.ban_members` permission
|
||||
You must have :attr:`~Permissions.ban_members` permission
|
||||
to get this information.
|
||||
|
||||
Raises
|
||||
@ -701,7 +701,7 @@ class Guild(Hashable):
|
||||
The inactive members are denoted if they have not logged on in
|
||||
``days`` number of days and they have no roles.
|
||||
|
||||
You must have the :attr:`Permissions.kick_members` permission
|
||||
You must have the :attr:`~Permissions.kick_members` permission
|
||||
to use this.
|
||||
|
||||
To check how many members you would prune without actually pruning,
|
||||
@ -775,7 +775,7 @@ class Guild(Hashable):
|
||||
|
||||
Returns a list of all active instant invites from the guild.
|
||||
|
||||
You must have :attr:`Permissions.manage_guild` to get this information.
|
||||
You must have :attr:`~Permissions.manage_guild` to get this information.
|
||||
|
||||
Raises
|
||||
-------
|
||||
|
Reference in New Issue
Block a user