Browse Source

Remove redundant VocalGuildChannel in GuildChannel Union

pull/9009/head
RioghanDer2te 3 years ago
committed by GitHub
parent
commit
efd28fc1e0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      discord/state.py

4
discord/state.py

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

Loading…
Cancel
Save