diff options
| author | Alex Nørgaard <[email protected]> | 2021-05-15 07:08:16 +0100 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-06-12 12:01:01 -0400 |
| commit | 72dd2381b04c2a8b5b7c234ff62a1ef962c0c313 (patch) | |
| tree | 1d363f732c23739eed721c56b0e1ec617b2abf92 | |
| parent | Fix for doc reference to python "raise" statement (diff) | |
| download | discord.py-72dd2381b04c2a8b5b7c234ff62a1ef962c0c313.tar.xz discord.py-72dd2381b04c2a8b5b7c234ff62a1ef962c0c313.zip | |
Update docs for (Partial)Message.publish to reflect the actual permissions needed
| -rw-r--r-- | discord/message.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/discord/message.py b/discord/message.py index 563206ab..f843e014 100644 --- a/discord/message.py +++ b/discord/message.py @@ -1119,8 +1119,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 ------- |