From ae08c7942182e74c4330ecacab4052a6ffbfc4dc Mon Sep 17 00:00:00 2001 From: RioghanDer2te <39881274+RioghanDer2te@users.noreply.github.com> Date: Wed, 19 Oct 2022 04:05:36 +0200 Subject: [PATCH] Remove redundant VocalGuildChannel in GuildChannel Union --- discord/state.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/state.py b/discord/state.py index 7d1c235fb..aeed42f80 100644 --- a/discord/state.py +++ b/discord/state.py @@ -101,7 +101,7 @@ if TYPE_CHECKING: from .abc import PrivateChannel, Snowflake as abcSnowflake from .activity import ActivityTypes 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 @@ -123,7 +123,7 @@ if TYPE_CHECKING: from .types.activity import ClientStatus as ClientStatusPayload T = TypeVar('T') - Channel = Union[GuildChannel, VocalGuildChannel, PrivateChannel, PartialMessageable, ForumChannel] + Channel = Union[GuildChannel, PrivateChannel, PartialMessageable] MISSING = utils.MISSING _log = logging.getLogger(__name__)