aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2020-04-04 13:32:47 -0400
committerRapptz <[email protected]>2020-04-04 13:32:47 -0400
commit8ff285fcbc5b06ce7c76dc4bab90c2b9ba8f2ee4 (patch)
tree9c8866b7c9ed905ef4982e701364ff22d73d7b6e
parentRename allowed mention parameters to allowed_mentions (diff)
downloaddiscord.py-8ff285fcbc5b06ce7c76dc4bab90c2b9ba8f2ee4.tar.xz
discord.py-8ff285fcbc5b06ce7c76dc4bab90c2b9ba8f2ee4.zip
Documentation fixups for allowed mentions
-rw-r--r--discord/abc.py2
-rw-r--r--discord/webhook.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/discord/abc.py b/discord/abc.py
index 67590ef7..c8b9f598 100644
--- a/discord/abc.py
+++ b/discord/abc.py
@@ -806,7 +806,7 @@ class Messageable(metaclass=abc.ABCMeta):
If provided, the number of seconds to wait in the background
before deleting the message we just sent. If the deletion fails,
then it is silently ignored.
- allowed_mentions: :class:`AllowedMentions`
+ allowed_mentions: :class:`~discord.AllowedMentions`
Controls the mentions being processed in this message.
.. versionadded:: 1.4
diff --git a/discord/webhook.py b/discord/webhook.py
index 803cf732..c4fc9734 100644
--- a/discord/webhook.py
+++ b/discord/webhook.py
@@ -733,7 +733,7 @@ class Webhook:
A list of embeds to send with the content. Maximum of 10. This cannot
be mixed with the ``embed`` parameter.
allowed_mentions: :class:`AllowedMentions`
- Controls the allowed_mentions being processed in this message.
+ Controls the mentions being processed in this message.
.. versionadded:: 1.4