mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-11 16:29:49 +00:00
[commands] Change import for PrivateChannel for cooldowns
This commit is contained in:
parent
536cf5c01f
commit
2b51e5e736
@ -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…
x
Reference in New Issue
Block a user