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)