aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKowlin <[email protected]>2020-04-10 15:46:30 +0200
committerRapptz <[email protected]>2020-04-14 03:24:46 -0400
commit08e20910e6291ee92de3770c677eb1c633070e85 (patch)
treedc281925c5edaf5a17019a56281f57bec1e2ae7b
parentAdd new alias VerificationLevel.very_high (diff)
downloaddiscord.py-08e20910e6291ee92de3770c677eb1c633070e85.tar.xz
discord.py-08e20910e6291ee92de3770c677eb1c633070e85.zip
Edit message publish documentation
-rw-r--r--discord/message.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/discord/message.py b/discord/message.py
index abad3bb1..0e2f0e41 100644
--- a/discord/message.py
+++ b/discord/message.py
@@ -847,11 +847,8 @@ class Message:
Publishes this message to your announcement channel.
- You must have the :attr:`~Permissions.manage_messages` permission to use this.
-
- .. note::
-
- This can only be used by non-bot accounts.
+ If the message is not your own then the :attr:`~Permissions.manage_messages`
+ permission is needed.
Raises
-------