make command arg optional to help command

This commit is contained in:
Dustin Pianalto 2018-06-08 11:32:10 -08:00
parent 5447601cec
commit c2e6495be3

View File

@ -701,7 +701,7 @@ class Utils:
# TODO Create Help command
@commands.command(name='help', aliases=['h'])
@commands.cooldown(1, 5, commands.BucketType.user)
async def custom_help(self, ctx, command):
async def custom_help(self, ctx, command: str=None):
pag = utils.Paginator(self.bot, embed=True, max_line_length=44)
msg = await ctx.send('Loading Help...')
pag.add('\uFFF6My new help\nTest message\n\uFFF7\n\uFFF8')