From 7561e631760fb08d0438e5505fb25697b05054c6 Mon Sep 17 00:00:00 2001 From: dolfies Date: Sun, 31 Dec 2023 14:42:27 -0500 Subject: [PATCH] Fix tests --- discord/ext/commands/cooldowns.py | 4 ++-- discord/member.py | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/discord/ext/commands/cooldowns.py b/discord/ext/commands/cooldowns.py index 7145e151ba07..df3f4985a7b5 100644 --- a/discord/ext/commands/cooldowns.py +++ b/discord/ext/commands/cooldowns.py @@ -31,14 +31,14 @@ import asyncio from collections import deque -from ...abc import PrivateChannel +from discord.abc import PrivateChannel from .errors import MaxConcurrencyReached from .context import Context if TYPE_CHECKING: from typing_extensions import Self - from ...message import Message + from discord.message import Message __all__ = ( 'BucketType', diff --git a/discord/member.py b/discord/member.py index daa63c174a5d..f9e5b00ab598 100644 --- a/discord/member.py +++ b/discord/member.py @@ -143,9 +143,7 @@ class VoiceState: 'suppress', ) - def __init__( - self, *, data: VoiceStatePayload, channel: Optional[ConnectableChannel] = None - ): + def __init__(self, *, data: VoiceStatePayload, channel: Optional[ConnectableChannel] = None): self.session_id: Optional[str] = data.get('session_id') self._update(data, channel)