Add channel context to a few activitylog actions
This commit is contained in:
parent
2a42ae956c
commit
047cf075f2
1 changed files with 3 additions and 3 deletions
|
@ -176,7 +176,7 @@ class Jarvis(Snake):
|
||||||
]
|
]
|
||||||
embed = build_embed(
|
embed = build_embed(
|
||||||
title="Command Invoked",
|
title="Command Invoked",
|
||||||
description=f"{ctx.author.mention} invoked a command",
|
description=f"{ctx.author.mention} invoked a command in {ctx.channel.mention}",
|
||||||
fields=fields,
|
fields=fields,
|
||||||
color="#fc9e3f",
|
color="#fc9e3f",
|
||||||
)
|
)
|
||||||
|
@ -440,7 +440,7 @@ class Jarvis(Snake):
|
||||||
]
|
]
|
||||||
embed = build_embed(
|
embed = build_embed(
|
||||||
title="Message Edited",
|
title="Message Edited",
|
||||||
description=f"{after.author.mention} edited a message",
|
description=f"{after.author.mention} edited a message in {before.channel.mention}",
|
||||||
fields=fields,
|
fields=fields,
|
||||||
color="#fc9e3f",
|
color="#fc9e3f",
|
||||||
timestamp=after.edited_timestamp,
|
timestamp=after.edited_timestamp,
|
||||||
|
@ -514,7 +514,7 @@ class Jarvis(Snake):
|
||||||
channel = message.guild.get_channel(modlog.value)
|
channel = message.guild.get_channel(modlog.value)
|
||||||
embed = build_embed(
|
embed = build_embed(
|
||||||
title="Message Deleted",
|
title="Message Deleted",
|
||||||
description=f"{message.author.mention}'s message was deleted",
|
description=f"{message.author.mention}'s message was deleted from {message.channel.mention}",
|
||||||
fields=fields,
|
fields=fields,
|
||||||
color="#fc9e3f",
|
color="#fc9e3f",
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue