Update message delete log embed to only show filenames
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Ethan Lane 2023-11-06 18:34:15 +00:00
parent f76f1f42d7
commit 19bc006ed2

View file

@ -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")}\`\`\``
}
]);
}