mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-09 13:15:02 +00:00
Update docs for (Partial)Message.publish to reflect the actual permissions needed
This commit is contained in:
parent
f0c3568ea9
commit
72dd2381b0
@ -1119,8 +1119,10 @@ class Message(Hashable):
|
|||||||
|
|
||||||
Publishes this message to your announcement channel.
|
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`
|
If the message is not your own then the :attr:`~Permissions.manage_messages`
|
||||||
permission is needed.
|
permission is also needed.
|
||||||
|
|
||||||
Raises
|
Raises
|
||||||
-------
|
-------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user