Skip to content

Commit 8474f05

Browse files
committed
♻️ update import paths for utility functions to use relative imports
1 parent 84ff9df commit 8474f05

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

discord/ext/commands/bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
from typing import TYPE_CHECKING, Any, Callable, Coroutine, Iterable, TypeVar
3333

3434
import discord
35-
from discord.utils import Undefined
35+
from ...utils import Undefined
3636

3737
from . import errors
3838
from .context import Context

discord/ext/commands/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
)
4444

4545
import discord
46-
from discord.utils.private import evaluate_annotation
46+
from ...utils.private import evaluate_annotation
4747
from discord import utils
48-
from discord.utils import Undefined
48+
from ...utils import Undefined
4949

5050
from ...commands import (
5151
ApplicationCommand,

discord/ext/commands/flags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
from typing import TYPE_CHECKING, Any, Iterator, Literal, Pattern, TypeVar, Union
3333

3434
from discord import utils
35-
from discord.utils import MISSING, Undefined, maybe_coroutine
35+
from ...utils import MISSING, Undefined, maybe_coroutine
3636
from ...utils.private import resolve_annotation
3737

3838
from .converter import run_converters

0 commit comments

Comments
 (0)