[commands] Change import for PrivateChannel for cooldowns

This commit is contained in:
Rapptz 2023-12-10 04:33:52 -05:00
parent 536cf5c01f
commit 2b51e5e736

View File

@ -27,11 +27,11 @@ from __future__ import annotations
from typing import Any, Callable, Deque, Dict, Optional, Union, Generic, TypeVar, TYPE_CHECKING from typing import Any, Callable, Deque, Dict, Optional, Union, Generic, TypeVar, TYPE_CHECKING
from discord.enums import Enum from discord.enums import Enum
from discord.abc import PrivateChannel
import time import time
import asyncio import asyncio
from collections import deque from collections import deque
from ...abc import PrivateChannel
from .errors import MaxConcurrencyReached from .errors import MaxConcurrencyReached
from .context import Context from .context import Context
from discord.app_commands import Cooldown as Cooldown from discord.app_commands import Cooldown as Cooldown