Update message delete log embed to only show filenames #366

Merged
Vylpes merged 1 commit from feature/322-message-attachments-log into develop 2023-11-10 18:21:28 +00:00

View file

@ -33,8 +33,8 @@ export default async function MessageDelete(message: Message) {
if (message.attachments.size > 0) { if (message.attachments.size > 0) {
embed.addFields([ embed.addFields([
{ {
name: "Attachments", name: `Attachments (${message.attachments.size})`,
value: `\`\`\`${message.attachments.map(x => x.url).join("\n")}\`\`\`` value: `\`\`\`${message.attachments.map(x => x.name).join("\n")}\`\`\``
} }
]); ]);
} }