bots_DaBaby/text_commands.py
async def help_command(self, ctx):
        """Helps the person that runs this command."""
        voice_commands = []
        text_commands = []
        hellp = discord.Embed(title="HELP!", color=discord.Colour.dark_gold())
        usage = lambda cmd: f"{cmd.name} {command.signature}"
        
        for command in self.bot.commands:
            if command.cog.qualified_name == "voice_commands":
                voice_commands.append((f"{ctx.prefix}{usage(command)}", command.short_doc))
            elif command.cog.qualified_name == "text_commands":
                text_commands.append((f"{ctx.prefix}{usage(command)}", command.short_doc))

        voice_help_string = "".join([f"`{pair[0]}`\n{pair[1]}\n\n" for pair in voice_commands])
        text_help_string = "".join([f"`{pair[0]}`\n{pair[1]}\n\n" for pair in text_commands])
        hellp.description = "This is the dababy bot help menu" +\
                f"\n**Voice Commands**\n\n{voice_help_string}" +\
                f"\n**Text Commands**\n\n{text_help_string}"
        await ctx.reply(embed=hellp, mention_author=False)
Helps the person that runs this command.
Helps the person that runs this command.
Helps the person that runs this command .
async def help_command(self, ctx):
        voice_commands = []
        text_commands = []
        hellp = discord.Embed(title="HELP!", color=discord.Colour.dark_gold())
        usage = lambda cmd: f"{cmd.name} {command.signature}"
        for command in self.bot.commands:
            if command.cog.qualified_name == "voice_commands":
                voice_commands.append((f"{ctx.prefix}{usage(command)}", command.short_doc))
            elif command.cog.qualified_name == "text_commands":
                text_commands.append((f"{ctx.prefix}{usage(command)}", command.short_doc))
        voice_help_string = "".join([f"`{pair[0]}`\n{pair[1]}\n\n" for pair in voice_commands])
        text_help_string = "".join([f"`{pair[0]}`\n{pair[1]}\n\n" for pair in text_commands])
        hellp.description = "This is the dababy bot help menu" +\
                f"\n**Voice Commands**\n\n{voice_help_string}" +\
                f"\n**Text Commands**\n\n{text_help_string}"
        await ctx.reply(embed=hellp, mention_author=False)
async def help_command ( self , ctx ) : voice_commands = [ ] text_commands = [ ] hellp = discord . Embed ( title = "HELP!" , color = discord . Colour . dark_gold ( ) ) usage = lambda cmd : f"{cmd.name} {command.signature}" for command in self . bot . commands : if command . cog . qualified_name == "voice_commands" : voice_commands . append ( ( f"{ctx.prefix}{usage(command)}" , command . short_doc ) ) elif command . cog . qualified_name == "text_commands" : text_commands . append ( ( f"{ctx.prefix}{usage(command)}" , command . short_doc ) ) voice_help_string = "" . join ( [ f"`{pair[0]}`\n{pair[1]}\n\n" for pair in voice_commands ] ) text_help_string = "" . join ( [ f"`{pair[0]}`\n{pair[1]}\n\n" for pair in text_commands ] ) hellp . description = "This is the dababy bot help menu" + f"\n**Voice Commands**\n\n{voice_help_string}" + f"\n**Text Commands**\n\n{text_help_string}" await ctx . reply ( embed = hellp , mention_author = False )
Helps the person that runs this command.
Helps the person that runs this command .
"""Helps the person that runs this command."""
self
ctx