Skip to content

Commit af75985

Browse files
authored
Fix incorrect import
1 parent d08fd59 commit af75985

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

discord/channel.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
from .stage_instance import StageInstance
6666
from .threads import Thread
6767
from .partial_emoji import _EmojiTag, PartialEmoji
68-
from .flags import ChannelFlags
68+
from .flags import ChannelFlags, MessageFlags
6969
from .http import handle_message_parameters
7070
from .object import Object
7171
from .soundboard import BaseSoundboardSound, SoundboardDefaultSound
@@ -2938,8 +2938,6 @@ async def create_thread(
29382938
raise TypeError(f'view parameter must be View not {view.__class__.__name__}')
29392939

29402940
if suppress_embeds:
2941-
from .message import MessageFlags # circular import
2942-
29432941
flags = MessageFlags._from_value(4)
29442942
else:
29452943
flags = MISSING

0 commit comments

Comments
 (0)