diff options
| author | Steve C <[email protected]> | 2018-05-10 03:34:13 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-05-18 20:25:54 -0400 |
| commit | 0e945915b766991c5008077575def82a72e0d7ff (patch) | |
| tree | 36d856afa258a8941720b7d7f33618462592d06d /discord/client.py | |
| parent | abc.GuildChannel.set_permissions can raise NotFound. (diff) | |
| download | discord.py-0e945915b766991c5008077575def82a72e0d7ff.tar.xz discord.py-0e945915b766991c5008077575def82a72e0d7ff.zip | |
Fixes various documentation errors/inconsistencies
Mostly dealing with permissions, also fixes Raw Events inclusion.
Diffstat (limited to 'discord/client.py')
| -rw-r--r-- | discord/client.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py index 70395466..0434d1e2 100644 --- a/discord/client.py +++ b/discord/client.py @@ -912,7 +912,7 @@ class Client: def get_invite(self, url): """|coro| - Gets a :class:`Invite` from a discord.gg URL or ID. + Gets an :class:`Invite` from a discord.gg URL or ID. Note ------ @@ -948,6 +948,9 @@ class Client: Revokes an :class:`Invite`, URL, or ID to an invite. + You must have the :attr:`~Permissions.manage_channels` permission in + the associated guild to do this. + Parameters ---------- invite |