Update docs for (Partial)Message.publish to reflect the actual permissions needed

This commit is contained in:
Alex Nørgaard 2021-05-15 07:08:16 +01:00 committed by GitHub
parent ee3e2944ba
commit fb20c4c3d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
-------