Skip to content

Commit

Permalink
update docstrings and slots
Browse files Browse the repository at this point in the history
  • Loading branch information
Snipy7374 committed Nov 22, 2024
1 parent f7ed3fa commit a16b05d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions disnake/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -2733,9 +2733,6 @@ class ForwardedMessage:
The actual contents of the message.
embeds: List[:class:`Embed`]
A list of embeds the message has.
channel: Optional[Union[:class:`TextChannel`, :class:`VoiceChannel`, :class:`StageChannel`, :class:`Thread`, :class:`DMChannel`, :class:`GroupChannel`, :class:`PartialMessageable`]]
The channel that the message was forwarded from.
Could be a :class:`DMChannel` or :class:`GroupChannel` if it's a private message. This could be ``None`` if the channel is not cached.
channel_id: :class:`int`
The ID of the channel where the message was forwarded from.
attachments: List[:class:`Attachment`]
Expand All @@ -2759,9 +2756,6 @@ class ForwardedMessage:
A list of sticker items given to the message.
components: List[:class:`Component`]
A list of components in the message.
guild: Optional[:class:`Guild`]
The guild where the message was forwarded from, if applicable. This could
be ``None`` if the guild is not cached.
guild_id: Optional[:class:`int`]
The guild ID where the message was forwarded from, if applicable.
"""
Expand All @@ -2771,7 +2765,6 @@ class ForwardedMessage:
"type",
"content",
"embeds",
"channel",
"channel_id",
"attachments",
"_timestamp",
Expand All @@ -2781,7 +2774,6 @@ class ForwardedMessage:
"role_mentions",
"stickers",
"components",
"guild",
"guild_id",
)

Expand Down

0 comments on commit a16b05d

Please sign in to comment.