From fff22348235e4891de770af6d9e116dece802b6f Mon Sep 17 00:00:00 2001 From: Misa Date: Mon, 7 Dec 2020 15:34:51 -0800 Subject: [PATCH] Fix wrong documented permission for GuildChannel.invites() I tested it just now, and manage_guild is not the permission you need to fetch invites from a given channel. You need manage_channels. Note that this isn't the same as Guild.invites(), which DOES use manage_guild. --- discord/abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/abc.py b/discord/abc.py index 84757fcb0..e45312b66 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -755,7 +755,7 @@ class GuildChannel: Returns a list of all active instant invites from this channel. - You must have :attr:`~Permissions.manage_guild` to get this information. + You must have :attr:`~Permissions.manage_channels` to get this information. Raises -------