From b44bba6ee6e29b38d1e579c602821582e155ec3b Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 12 May 2017 20:14:34 -0400 Subject: First pass at documentation reform. --- discord/guild.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'discord/guild.py') diff --git a/discord/guild.py b/discord/guild.py index 4b8f5945..4987ea36 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -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 ------- -- cgit v1.2.3