Skip to content

Commit 30fb161

Browse files
committed
Fix import cycle for contents of discord.channel
1 parent ea11c83 commit 30fb161

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

discord/__init__.pyi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ from .user import User as User, ClientUser as ClientUser, Profile as Profile
66
from .emoji import Emoji as Emoji
77
from .partial_emoji import PartialEmoji as PartialEmoji
88
from .activity import *
9-
from .channel import *
9+
from .channel import (
10+
TextChannel as TextChannel, VoiceChannel as VoiceChannel, DMChannel as DMChannel,
11+
CategoryChannel as CategoryChannel, StoreChannel as StoreChannel, GroupChannel as GroupChannel
12+
)
1013
from .guild import Guild as Guild
1114
from .flags import SystemChannelFlags as SystemChannelFlags, MessageFlags as MessageFlags
1215
from .relationship import Relationship as Relationship

0 commit comments

Comments
 (0)