Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Snipy7374 committed Apr 27, 2024
1 parent 4b20515 commit ba2dd4e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion disnake/abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1595,7 +1595,7 @@ async def send(
.. note::
Passing a :class:`.Message` or :class:`.PartialMessage` will only allow replies. To forward a message
you must explicitly transform the message to a :class:`.MessageReference` and specify there the :class:`MessageReferenceType`.
you must explicitly transform the message to a :class:`.MessageReference` and specify there the :class:`.MessageReferenceType`.
mention_author: Optional[:class:`bool`]
If set, overrides the :attr:`.AllowedMentions.replied_user` attribute of ``allowed_mentions``.
Expand Down
1 change: 1 addition & 0 deletions disnake/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"InteractionReference",
"DeletedReferencedMessage",
"RoleSubscriptionData",
"ForwardedMessage",
)


Expand Down
7 changes: 7 additions & 0 deletions docs/api/messages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,13 @@ PartialMessage
.. autoclass:: PartialMessage
:members:

ForwardedMessage
~~~~~~~~~~~~~~~~

.. attributetable:: ForwardedMessage

.. autoclass:: ForwardedMessage

Enumerations
------------

Expand Down

0 comments on commit ba2dd4e

Please sign in to comment.