aboutsummaryrefslogtreecommitdiff
path: root/discord/message.py
diff options
context:
space:
mode:
authorAlex Nørgaard <[email protected]>2021-05-15 07:08:16 +0100
committerGitHub <[email protected]>2021-05-15 02:08:16 -0400
commitfb20c4c3d432a7e2af6af7452a5ecefe734a7c30 (patch)
tree2049337ff35a414f3001c1556d97dac3b01e9a2a /discord/message.py
parentAdd Colour.fuchsia and Colour.yellow (diff)
downloaddiscord.py-fb20c4c3d432a7e2af6af7452a5ecefe734a7c30.tar.xz
discord.py-fb20c4c3d432a7e2af6af7452a5ecefe734a7c30.zip
Update docs for (Partial)Message.publish to reflect the actual permissions needed
Diffstat (limited to 'discord/message.py')
-rw-r--r--discord/message.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/discord/message.py b/discord/message.py
index 9016960a..a1191d68 100644
--- a/discord/message.py
+++ b/discord/message.py
@@ -1203,8 +1203,10 @@ class Message(Hashable):
Publishes this message to your announcement channel.
+ You must have the :attr:`~Permissions.send_messages` permission to do this.
+
If the message is not your own then the :attr:`~Permissions.manage_messages`
- permission is needed.
+ permission is also needed.
Raises
-------