mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Fix NameError in GuildChannel.create_invite
Move InviteTarget out of type checking
This commit is contained in:
parent
c69ce78ad1
commit
5e9f679178
@ -48,7 +48,7 @@ from typing import (
|
||||
|
||||
from .object import OLDEST_OBJECT, Object
|
||||
from .context_managers import Typing
|
||||
from .enums import ChannelType
|
||||
from .enums import ChannelType, InviteTarget
|
||||
from .errors import ClientException
|
||||
from .mentions import AllowedMentions
|
||||
from .permissions import PermissionOverwrite, Permissions
|
||||
@ -93,7 +93,6 @@ if TYPE_CHECKING:
|
||||
StageChannel,
|
||||
)
|
||||
from .threads import Thread
|
||||
from .enums import InviteTarget
|
||||
from .ui.view import View
|
||||
from .types.channel import (
|
||||
PermissionOverwrite as PermissionOverwritePayload,
|
||||
|
Loading…
x
Reference in New Issue
Block a user