Update messageUpdate.js

This commit is contained in:
Aayu5h 2022-12-30 14:28:08 +05:30 committed by GitHub
parent f9417b92a7
commit 5910ec1e48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,6 +41,10 @@ let row = new Discord.ActionRowBuilder()
{
name: `> New message`,
value: `\`\`\`${newMessage.content.replace(/`/g, "'")}\`\`\``
},
{
name: `> Timestamp`,
value: `- <t:${Math.floor(newMessage.createdTimestamp / 1000)}:R>`
}
],
components: [row]