Add author id to bulk delete logs

This commit is contained in:
Erik 2024-11-11 11:53:25 +02:00
parent b3898a498b
commit 36e320ab1b
2 changed files with 5 additions and 5 deletions

View File

@ -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
});

View File

@ -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 ()
{