Browse Source

Documentation fixups for allowed mentions

pull/2634/head
Rapptz 5 years ago
parent
commit
8ff285fcbc
  1. 2
      discord/abc.py
  2. 2
      discord/webhook.py

2
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

2
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

Loading…
Cancel
Save