temp disable old message check until figuring out how to get old message
This commit is contained in:
parent
4e9466b242
commit
976e4f7649
1 changed files with 2 additions and 2 deletions
|
@ -52,14 +52,14 @@ func MessageUpdate(msg *gateway.MessageUpdateEvent) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
old, err := client.MessageStore.Message(msg.ChannelID, msg.ID)
|
/*old, err := client.MessageStore.Message(msg.ChannelID, msg.ID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if msg.Content == old.Content {
|
if msg.Content == old.Content {
|
||||||
return
|
return
|
||||||
}
|
}*/
|
||||||
|
|
||||||
// dont process embed updates as messages
|
// dont process embed updates as messages
|
||||||
if !msg.EditedTimestamp.IsValid() {
|
if !msg.EditedTimestamp.IsValid() {
|
||||||
|
|
Loading…
Reference in a new issue