From 0e945915b766991c5008077575def82a72e0d7ff Mon Sep 17 00:00:00 2001 From: Steve C Date: Thu, 10 May 2018 03:34:13 -0400 Subject: Fixes various documentation errors/inconsistencies Mostly dealing with permissions, also fixes Raw Events inclusion. --- discord/client.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'discord/client.py') 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 -- cgit v1.2.3