Skip to content
This repository has been archived by the owner on Aug 1, 2021. It is now read-only.

Commit

Permalink
Fix disco.bot.Bot using update instead of inplace_update (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
slice authored and b1naryth1ef committed Aug 30, 2017
1 parent 1452927 commit 95d10a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disco/bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def on_message_update(self, event):

msg, triggered = obj
if msg.id == event.message.id and not triggered:
msg.update(event.message)
msg.inplace_update(event.message)
triggered = self.handle_message(msg)

self.last_message_cache[msg.channel_id] = (msg, triggered)
Expand Down

0 comments on commit 95d10a3

Please sign in to comment.