diff options
| author | Rapptz <[email protected]> | 2017-05-12 20:14:34 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-05-12 20:14:34 -0400 |
| commit | b44bba6ee6e29b38d1e579c602821582e155ec3b (patch) | |
| tree | 355df44874b3e5f8ee4e825339cb57783e3677ca /discord/guild.py | |
| parent | Rename abc.Callable to abc.Connectable. (diff) | |
| download | discord.py-b44bba6ee6e29b38d1e579c602821582e155ec3b.tar.xz discord.py-b44bba6ee6e29b38d1e579c602821582e155ec3b.zip | |
First pass at documentation reform.
Diffstat (limited to 'discord/guild.py')
| -rw-r--r-- | discord/guild.py | 8 |
1 files changed, 4 insertions, 4 deletions
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 ------- |