Fix malware scanning and a few related bugs (#42)
diff --git a/src/events/messageEdit.ts b/src/events/messageEdit.ts
index 9799dde..270da00 100644
--- a/src/events/messageEdit.ts
+++ b/src/events/messageEdit.ts
@@ -44,7 +44,7 @@
renderChannel(newMessage.channel as Discord.GuildBasedChannel)
),
sent: entry(newMessage.createdTimestamp, renderDelta(newMessage.createdTimestamp)),
- published: entry(newMessage.editedTimestamp!, renderDelta(newMessage.editedTimestamp!)),
+ published: entry(Date.now(), renderDelta(Date.now())),
mentions: renderNumberDelta(oldMessage.mentions.users.size, newMessage.mentions.users.size),
attachments: entry(
renderNumberDelta(oldMessage.attachments.size, newMessage.attachments.size),