From 3ad6300e5a570dcd2293a1ec1c686433644a9ef8 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Sun, 18 Apr 2021 18:29:25 -0700 Subject: [PATCH] Adding a link to the message that invoked dragon bot --- app/bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/bot.py b/app/bot.py index d7fc0afc..3f826c80 100755 --- a/app/bot.py +++ b/app/bot.py @@ -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)