File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3232from typing import TYPE_CHECKING , Any
3333
3434import discord .utils
35- from discord .ext import bridge
3635
3736from .core import Command , Group
3837from .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
You can’t perform that action at this time.
0 commit comments