diff options
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 |