aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuck <[email protected]>2020-09-11 09:55:26 +0100
committerGitHub <[email protected]>2020-09-11 04:55:26 -0400
commitddc4ad24f4207c25cebe2ed720cc1e27fdbb214b (patch)
tree3b649298031a747911571ee905e653b1cceb5ddd
parentRemove caching from AutoShardedClient.shards (diff)
downloaddiscord.py-ddc4ad24f4207c25cebe2ed720cc1e27fdbb214b.tar.xz
discord.py-ddc4ad24f4207c25cebe2ed720cc1e27fdbb214b.zip
Add missing permission in clone documentation
-rw-r--r--discord/abc.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/abc.py b/discord/abc.py
index 85bcd203..369fab3b 100644
--- a/discord/abc.py
+++ b/discord/abc.py
@@ -679,6 +679,9 @@ class GuildChannel:
Clones this channel. This creates a channel with the same properties
as this channel.
+ You must have the :attr:`~discord.Permissions.manage_channels` permission to
+ do this.
+
.. versionadded:: 1.1
Parameters