From 72dd2381b04c2a8b5b7c234ff62a1ef962c0c313 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 563206ab3..f843e014f 100644 --- a/discord/message.py +++ b/discord/message.py @@ -1119,8 +1119,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 -------