Skip to content

Commit 72dd238

Browse files
AbstractUmbraRapptz
authored andcommitted
Update docs for (Partial)Message.publish to reflect the actual permissions needed
1 parent f0c3568 commit 72dd238

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

discord/message.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1119,8 +1119,10 @@ async def publish(self):
11191119
11201120
Publishes this message to your announcement channel.
11211121
1122+
You must have the :attr:`~Permissions.send_messages` permission to do this.
1123+
11221124
If the message is not your own then the :attr:`~Permissions.manage_messages`
1123-
permission is needed.
1125+
permission is also needed.
11241126
11251127
Raises
11261128
-------

0 commit comments

Comments
 (0)