Browse Source

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

pull/6913/head
Alex Nørgaard 4 years ago
committed by GitHub
parent
commit
fb20c4c3d4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      discord/message.py

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

Loading…
Cancel
Save