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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
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 |
|
|
|
------- |
|
|
|