simple_embed doesn't take author (#1555)

Simple embed doesn't use ctx.author as author
This commit is contained in:
bobloy 2018-05-04 01:27:44 -04:00 committed by Kowlin
parent 7cd98c8a63
commit 23192b9ef6

View File

@ -341,8 +341,7 @@ async def help(ctx, *cmds: str):
embed=ctx.bot.formatter.simple_embed( embed=ctx.bot.formatter.simple_embed(
ctx, ctx,
title='Command "{0.name}" has no subcommands.'.format(command), title='Command "{0.name}" has no subcommands.'.format(command),
color=ctx.bot.formatter.color, color=ctx.bot.formatter.color))
author=ctx.author.display_name))
else: else:
await destination.send( await destination.send(
ctx.bot.command_has_no_subcommands.format(command) ctx.bot.command_has_no_subcommands.format(command)