Skip to content

Commit ee91c07

Browse files
committed
🚑 Fix circular import - oops
1 parent 869f666 commit ee91c07

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

discord/ext/commands/help.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
from typing import TYPE_CHECKING, Any
3333

3434
import discord.utils
35-
from discord.ext import bridge
3635

3736
from .core import Command, Group
3837
from .errors import CommandError
@@ -1111,13 +1110,15 @@ async def send_group_help(self, group):
11111110
await self.send_pages()
11121111

11131112
async def send_cog_help(self, cog):
1113+
from discord.ext.bridge import BridgeExtCommand
1114+
11141115
if cog.description:
11151116
self.paginator.add_line(cog.description, empty=True)
11161117

11171118
filtered = await self.filter_commands(
11181119
cog.get_commands(),
11191120
sort=self.sort_commands,
1120-
exclude=(bridge.BridgeExtCommand,),
1121+
exclude=(BridgeExtCommand,),
11211122
)
11221123
self.add_indented_commands(filtered, heading=self.commands_heading)
11231124

0 commit comments

Comments
 (0)