Adding a link to the message that invoked dragon bot

This commit is contained in:
Luke Robles 2021-04-18 18:29:25 -07:00
parent 40d6e3089a
commit 3ad6300e5a

View File

@ -494,6 +494,7 @@ async def on_command_completion(ctx):
embed.add_field(name = "Command:", value = f"`{ctx.command}`")
embed.add_field(name = "User:", value = f"`{ctx.author}`", inline = False)
embed.add_field(name = "Channel:", value = f"{ctx.channel} **( <#{ctx.channel.id}> )**")
embed.add_field(name = "Link to Message:", value = "**(** [%s](%s) **)**" % (ctx.channel, ctx.message.jump_url))
embed.add_field(name = "Server:", value = f"{ctx.guild} **( <#{ctx.channel.id}> )**")
await channel.send(embed=embed)