bug fix/install scripts
This commit is contained in:
@@ -5,7 +5,7 @@ class Help(commands.Cog):
|
||||
def __init__(self, bot):
|
||||
self.bot = bot
|
||||
|
||||
@commands.command(name='help')
|
||||
@commands.command(name='help', invoke_without_command=True)
|
||||
async def help_command(self, ctx, topic=None):
|
||||
"""Show help information"""
|
||||
if not topic:
|
||||
@@ -424,4 +424,6 @@ class Help(commands.Cog):
|
||||
await ctx.send(embed=embed)
|
||||
|
||||
async def setup(bot):
|
||||
# Remove default help command to avoid conflicts
|
||||
bot.remove_command('help')
|
||||
await bot.add_cog(Help(bot))
|
||||
|
||||
Reference in New Issue
Block a user