Remove redundant VocalGuildChannel in GuildChannel Union

This commit is contained in:
RioghanDer2te 2022-10-19 04:05:36 +02:00 committed by GitHub
parent 3bca40352e
commit efd28fc1e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ from .automod import AutoModRule, AutoModAction
if TYPE_CHECKING:
from .abc import PrivateChannel
from .message import MessageableChannel
from .guild import GuildChannel, VocalGuildChannel
from .guild import GuildChannel
from .http import HTTPClient
from .voice_client import VoiceProtocol
from .client import Client
@ -98,7 +98,7 @@ if TYPE_CHECKING:
from .types.command import GuildApplicationCommandPermissions as GuildApplicationCommandPermissionsPayload
T = TypeVar('T')
Channel = Union[GuildChannel, VocalGuildChannel, PrivateChannel, PartialMessageable]
Channel = Union[GuildChannel, PrivateChannel, PartialMessageable]
class ChunkRequest: