Browse Source

[commands] Change import for PrivateChannel for cooldowns

pull/9678/head
Rapptz 2 years ago
parent
commit
2b51e5e736
  1. 2
      discord/ext/commands/cooldowns.py

2
discord/ext/commands/cooldowns.py

@ -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

Loading…
Cancel
Save