Update message delete log embed to only show filenames
This commit is contained in:
parent
f76f1f42d7
commit
19bc006ed2
1 changed files with 2 additions and 2 deletions
|
@ -33,8 +33,8 @@ export default async function MessageDelete(message: Message) {
|
|||
if (message.attachments.size > 0) {
|
||||
embed.addFields([
|
||||
{
|
||||
name: "Attachments",
|
||||
value: `\`\`\`${message.attachments.map(x => x.url).join("\n")}\`\`\``
|
||||
name: `Attachments (${message.attachments.size})`,
|
||||
value: `\`\`\`${message.attachments.map(x => x.name).join("\n")}\`\`\``
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue