Skip to content

Commit

Permalink
fix: docstrings and run pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Snipy7374 committed Nov 14, 2024
1 parent 0d32187 commit ed8bd63
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions disnake/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,6 @@ def __init__(
for d in data.get("components", [])
]


inter_payload = data.get("interaction")
inter = (
None if inter_payload is None else InteractionReference(state=state, data=inter_payload)
Expand Down Expand Up @@ -2724,7 +2723,7 @@ class ForwardedMessage:
----------
type: :class:`MessageType`
The type of message. In most cases this should not be checked, but it is helpful
in cases where it might be a system message for :attr:`system_content`.
in cases where it might be a system message for :attr:`Message.system_content`.
content: :class:`str`
The actual contents of the message.
embeds: List[:class:`Embed`]
Expand All @@ -2737,7 +2736,7 @@ class ForwardedMessage:
A list of :class:`Member` that were mentioned. If the message is in a private message
then the list will be of :class:`User` instead. For messages that are not of type
:attr:`MessageType.default`\\, this array can be used to aid in system messages.
For more information, see :attr:`system_content`.
For more information, see :attr:`Message.system_content`.
.. warning::
Expand Down

0 comments on commit ed8bd63

Please sign in to comment.