mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
simple_embed doesn't take author (#1555)
Simple embed doesn't use ctx.author as author
This commit is contained in:
parent
7cd98c8a63
commit
23192b9ef6
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user