Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forum channels support #1249

Merged
merged 22 commits into from
May 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions discord/abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
from .client import Client
from .embeds import Embed
from .enums import InviteTarget
from .flags import ChannelFlags
from .guild import Guild
from .member import Member
from .message import Message, MessageReference, PartialMessage
Expand Down Expand Up @@ -305,6 +306,7 @@ class GuildChannel:
- :class:`~discord.VoiceChannel`
- :class:`~discord.CategoryChannel`
- :class:`~discord.StageChannel`
- :class:`~discord.ForumChannel`

This ABC must also implement :class:`~discord.abc.Snowflake`.

Expand All @@ -327,6 +329,7 @@ class GuildChannel:
type: ChannelType
position: int
category_id: Optional[int]
flags: ChannelFlags
_state: ConnectionState
_overwrites: List[_Overwrites]

Expand Down
Loading