Lilly Rose Berner
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
8 additions and
0 deletions
-
discord/channel.py
|
|
@ -2492,6 +2492,14 @@ class ForumChannel(discord.abc.GuildChannel, Hashable): |
|
|
|
def _sorting_bucket(self) -> int: |
|
|
|
return ChannelType.text.value |
|
|
|
|
|
|
|
@property |
|
|
|
def members(self) -> List[Member]: |
|
|
|
"""List[:class:`Member`]: Returns all members that can see this channel. |
|
|
|
|
|
|
|
.. versionadded:: 2.5 |
|
|
|
""" |
|
|
|
return [m for m in self.guild.members if self.permissions_for(m).read_messages] |
|
|
|
|
|
|
|
@property |
|
|
|
def _scheduled_event_entity_type(self) -> Optional[EntityType]: |
|
|
|
return None |
|
|
|