Skip to content

Commit 7501254

Browse files
committed
fix: NameError
1 parent ee91c07 commit 7501254

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

discord/ext/commands/help.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1356,6 +1356,8 @@ def get_category(command, *, no_category=no_category):
13561356
await self.send_pages()
13571357

13581358
async def send_cog_help(self, cog):
1359+
from discord.ext.bridge import BridgeExtCommand
1360+
13591361
bot = self.context.bot
13601362
if bot.description:
13611363
self.paginator.add_line(bot.description, empty=True)
@@ -1370,7 +1372,7 @@ async def send_cog_help(self, cog):
13701372
filtered = await self.filter_commands(
13711373
cog.get_commands(),
13721374
sort=self.sort_commands,
1373-
exclude=(bridge.BridgeExtCommand,),
1375+
exclude=(BridgeExtCommand,),
13741376
)
13751377
if filtered:
13761378
self.paginator.add_line(f"**{cog.qualified_name} {self.commands_heading}**")

0 commit comments

Comments
 (0)