temp disable old message check until figuring out how to get old message

This commit is contained in:
Cynthia Foxwell 2023-07-26 21:55:55 -06:00
parent 4e9466b242
commit 976e4f7649

View file

@ -52,14 +52,14 @@ func MessageUpdate(msg *gateway.MessageUpdateEvent) {
return
}
old, err := client.MessageStore.Message(msg.ChannelID, msg.ID)
/*old, err := client.MessageStore.Message(msg.ChannelID, msg.ID)
if err != nil {
return
}
if msg.Content == old.Content {
return
}
}*/
// dont process embed updates as messages
if !msg.EditedTimestamp.IsValid() {