added help docstring
adjusted help line length
This commit is contained in:
parent
66cbaffc7a
commit
35ab455a7c
@ -699,7 +699,8 @@ class Utils:
|
|||||||
@commands.command(name='help', aliases=['h'])
|
@commands.command(name='help', aliases=['h'])
|
||||||
@commands.cooldown(1, 5, commands.BucketType.user)
|
@commands.cooldown(1, 5, commands.BucketType.user)
|
||||||
async def custom_help(self, ctx, *, command: str=None):
|
async def custom_help(self, ctx, *, command: str=None):
|
||||||
pag = utils.Paginator(self.bot, embed=True, max_line_length=40)
|
"""This help message"""
|
||||||
|
pag = utils.Paginator(self.bot, embed=True, max_line_length=48)
|
||||||
prefixes = await self.bot.get_custom_prefix(self.bot, ctx.message)
|
prefixes = await self.bot.get_custom_prefix(self.bot, ctx.message)
|
||||||
if isinstance(prefixes, list):
|
if isinstance(prefixes, list):
|
||||||
prefixes = ', '.join(prefixes)
|
prefixes = ', '.join(prefixes)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user