From fb20c4c3d432a7e2af6af7452a5ecefe734a7c30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20N=C3=B8rgaard?= Date: Sat, 15 May 2021 07:08:16 +0100 Subject: [PATCH] Update docs for (Partial)Message.publish to reflect the actual permissions needed --- discord/message.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/discord/message.py b/discord/message.py index 9016960a0..a1191d681 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 -------