mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-23 11:26:51 +00:00
Fix incorrect import
This commit is contained in:
parent
d08fd59434
commit
af75985730
@ -65,7 +65,7 @@ from .errors import ClientException
|
|||||||
from .stage_instance import StageInstance
|
from .stage_instance import StageInstance
|
||||||
from .threads import Thread
|
from .threads import Thread
|
||||||
from .partial_emoji import _EmojiTag, PartialEmoji
|
from .partial_emoji import _EmojiTag, PartialEmoji
|
||||||
from .flags import ChannelFlags
|
from .flags import ChannelFlags, MessageFlags
|
||||||
from .http import handle_message_parameters
|
from .http import handle_message_parameters
|
||||||
from .object import Object
|
from .object import Object
|
||||||
from .soundboard import BaseSoundboardSound, SoundboardDefaultSound
|
from .soundboard import BaseSoundboardSound, SoundboardDefaultSound
|
||||||
@ -2938,8 +2938,6 @@ class ForumChannel(discord.abc.GuildChannel, Hashable):
|
|||||||
raise TypeError(f'view parameter must be View not {view.__class__.__name__}')
|
raise TypeError(f'view parameter must be View not {view.__class__.__name__}')
|
||||||
|
|
||||||
if suppress_embeds:
|
if suppress_embeds:
|
||||||
from .message import MessageFlags # circular import
|
|
||||||
|
|
||||||
flags = MessageFlags._from_value(4)
|
flags = MessageFlags._from_value(4)
|
||||||
else:
|
else:
|
||||||
flags = MISSING
|
flags = MISSING
|
||||||
|
Loading…
x
Reference in New Issue
Block a user