Update message delete log embed to only show filenames #366
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) {
|
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")}\`\`\``
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue