Add author id to bulk delete logs
This commit is contained in:
parent
b3898a498b
commit
36e320ab1b
@ -565,7 +565,7 @@ class GuildLogger extends Observer
|
||||
const value = stripIndents`${content ? content.substring(0, cutOff) : wrapper.format('BULK_DELETE_NO_CONTENT')}`;
|
||||
// ${message.attachments.size > 0 ? `__(Attachments: ${attStr})__` : '' }
|
||||
fields.push({
|
||||
name: `${Util.escapeMarkdown(author.tag)} @ ${moment.utc(message.createdAt).format('D/M/YYYY H:m:s')} UTC (MSG ID: ${id})`,
|
||||
name: `${Util.escapeMarkdown(author.tag)} (${author.id}) <t:${message.createdTimestamp}:R> (MSG ID: ${id})`,
|
||||
value
|
||||
});
|
||||
|
||||
|
@ -45,10 +45,10 @@ class MessageWrapper<InGuild extends boolean = boolean>
|
||||
this.#caller = null;
|
||||
}
|
||||
|
||||
// get message ()
|
||||
// {
|
||||
// return this.#message;
|
||||
// }
|
||||
get message ()
|
||||
{
|
||||
return this.#message;
|
||||
}
|
||||
|
||||
get id ()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user