Fixed small error with help command

pull/8/head
sgoudham 4 years ago
parent ad17aa6a95
commit 169bc6cd11

@ -166,7 +166,7 @@ async def _help(ctx, *, command: str = None):
if command is None: if command is None:
p = await HelpPaginator.from_bot(ctx) p = await HelpPaginator.from_bot(ctx)
else: else:
entity = ctx.self.bot.get_cog(command) or ctx.self.bot.get_command(command) entity = ctx.bot.get_cog(command) or ctx.bot.get_command(command)
if entity is None: if entity is None:
clean = command.replace('@', '@\u200b') clean = command.replace('@', '@\u200b')

Loading…
Cancel
Save