mod_userlog: add jump links
This commit is contained in:
parent
ca9ccde0e5
commit
6a703f0f7d
1 changed files with 4 additions and 0 deletions
|
@ -143,6 +143,7 @@ class ModUserlog(Cog):
|
|||
f"🗑 **Cleared {event}**: {ctx.author.mention} cleared"
|
||||
f" all {event} events of {target.mention} | "
|
||||
f"{safe_name}"
|
||||
f"\n🔗 __Jump__: <{ctx.message.jump_url}>"
|
||||
)
|
||||
await log_channel.send(msg)
|
||||
|
||||
|
@ -157,6 +158,7 @@ class ModUserlog(Cog):
|
|||
msg = (
|
||||
f"🗑 **Cleared {event}**: {ctx.author.mention} cleared"
|
||||
f" all {event} events of <@{target}> "
|
||||
f"\n🔗 __Jump__: <{ctx.message.jump_url}>"
|
||||
)
|
||||
await log_channel.send(msg)
|
||||
|
||||
|
@ -176,6 +178,7 @@ class ModUserlog(Cog):
|
|||
f"🗑 **Deleted {event_name}**: "
|
||||
f"{ctx.author.mention} removed "
|
||||
f"{event_name} {idx} from {target.mention} | {safe_name}"
|
||||
f"\n🔗 __Jump__: <{ctx.message.jump_url}>"
|
||||
)
|
||||
await log_channel.send(msg, embed=del_event)
|
||||
else:
|
||||
|
@ -196,6 +199,7 @@ class ModUserlog(Cog):
|
|||
f"🗑 **Deleted {event_name}**: "
|
||||
f"{ctx.author.mention} removed "
|
||||
f"{event_name} {idx} from <@{target}> "
|
||||
f"\n🔗 __Jump__: <{ctx.message.jump_url}>"
|
||||
)
|
||||
await log_channel.send(msg, embed=del_event)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue