Documentation fixups for allowed mentions

This commit is contained in:
Rapptz 2020-04-04 13:32:47 -04:00
parent d853a57e86
commit 8ff285fcbc
2 changed files with 2 additions and 2 deletions

View File

@ -806,7 +806,7 @@ class Messageable(metaclass=abc.ABCMeta):
If provided, the number of seconds to wait in the background If provided, the number of seconds to wait in the background
before deleting the message we just sent. If the deletion fails, before deleting the message we just sent. If the deletion fails,
then it is silently ignored. then it is silently ignored.
allowed_mentions: :class:`AllowedMentions` allowed_mentions: :class:`~discord.AllowedMentions`
Controls the mentions being processed in this message. Controls the mentions being processed in this message.
.. versionadded:: 1.4 .. versionadded:: 1.4

View File

@ -733,7 +733,7 @@ class Webhook:
A list of embeds to send with the content. Maximum of 10. This cannot A list of embeds to send with the content. Maximum of 10. This cannot
be mixed with the ``embed`` parameter. be mixed with the ``embed`` parameter.
allowed_mentions: :class:`AllowedMentions` allowed_mentions: :class:`AllowedMentions`
Controls the allowed_mentions being processed in this message. Controls the mentions being processed in this message.
.. versionadded:: 1.4 .. versionadded:: 1.4