Summary
Bridge commands are duplicated in cog help
Reproduction Steps
- Create a bridge command in a cog.
- Request help for that cog
Minimal Reproducible Code
from os import getenv
import discord
from discord.ext import bridge, commands
class MyCog(commands.Cog):
@discord.command()
async def slash_command(self, ctx):
await ctx.respond("Hi")
@commands.command()
async def prefix_command(self, ctx):
await ctx.respond("Hi")
@bridge.bridge_command()
async def bridge_command(self, ctx):
await ctx.respond("Hi")
bot = bridge.Bot()
bot.add_cog(MyCog())
bot.run(getenv("TOKEN"))
Expected Results

Actual Results

Intents
None
System Information
/data/data/com.termux/files/home/tests/lib/python3.11/site-packages/discord/__main__.py:33: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
- Python v3.11.6-final
- py-cord v2.4.1-final
- aiohttp v3.9.1
- system info: Linux 4.14.232-QuicksilveR™-ReloadedOS-Edition #1 SMP PREEMPT Wed May 26 07:08:17 UTC 2021
Checklist
Additional Context
I've made two attempts to fix it, I can open a PR if you find one of them satisfying:
https://github.com/Krutyi-4el/pycord/tree/help-fix-v1
https://github.com/Krutyi-4el/pycord/tree/help-fix-v2
Summary
Bridge commands are duplicated in cog help
Reproduction Steps
Minimal Reproducible Code
Expected Results
Actual Results
Intents
None
System Information
Checklist
Additional Context
I've made two attempts to fix it, I can open a PR if you find one of them satisfying:
https://github.com/Krutyi-4el/pycord/tree/help-fix-v1
https://github.com/Krutyi-4el/pycord/tree/help-fix-v2