mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-09-21 03:27:42 +00:00
Remove duplicate ForumChannel._flags slot and fix docstring
This commit is contained in:
Regular → Executable
+1
-2
@@ -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
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user