Browse Source

Remove duplicate ForumChannel._flags slot and fix docstring

pull/10457/merge
Michael 2 days ago
committed by GitHub
parent
commit
2f79a1336a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      discord/channel.py

3
discord/channel.py

@ -2451,7 +2451,6 @@ class ForumChannel(discord.abc.GuildChannel, Hashable):
'default_layout',
'default_sort_order',
'_available_tags',
'_flags',
)
def __init__(self, *, state: ConnectionState, guild: Guild, data: Union[ForumChannelPayload, MediaChannelPayload]):
@ -2569,7 +2568,7 @@ class ForumChannel(discord.abc.GuildChannel, Hashable):
@property
def flags(self) -> ChannelFlags:
""":class:`ChannelFlags`: The flags associated with this thread.
""":class:`ChannelFlags`: The flags associated with this forum.
.. versionadded:: 2.1
"""

Loading…
Cancel
Save