mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
Fix missing app_commands import (#6019)
This commit is contained in:
parent
2c4bd38ba1
commit
67f4dd5201
@ -37,7 +37,7 @@ import discord
|
|||||||
from discord.ext import commands as dpy_commands
|
from discord.ext import commands as dpy_commands
|
||||||
from discord.ext.commands import when_mentioned_or
|
from discord.ext.commands import when_mentioned_or
|
||||||
|
|
||||||
from . import Config, i18n, commands, errors, drivers, modlog, bank
|
from . import Config, i18n, app_commands, commands, errors, drivers, modlog, bank
|
||||||
from .cli import ExitCodes
|
from .cli import ExitCodes
|
||||||
from .cog_manager import CogManager, CogManagerUI
|
from .cog_manager import CogManager, CogManagerUI
|
||||||
from .core_commands import Core
|
from .core_commands import Core
|
||||||
@ -62,8 +62,6 @@ from .utils._internal_utils import send_to_owners_with_prefix_replaced
|
|||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from discord.ext.commands.hybrid import CommandCallback, ContextT, P
|
from discord.ext.commands.hybrid import CommandCallback, ContextT, P
|
||||||
|
|
||||||
from redbot.core import app_commands
|
|
||||||
|
|
||||||
|
|
||||||
_T = TypeVar("_T")
|
_T = TypeVar("_T")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user