diff --git a/didier/didier.py b/didier/didier.py index 318cc1c..018f34d 100644 --- a/didier/didier.py +++ b/didier/didier.py @@ -382,6 +382,12 @@ class Didier(commands.Bot): if not should_snipe(before): return + # If the edited message is currently present in the snipe cache, + # don't update the , but instead change the + existing = self.sniped.get(before.channel.id, None) + if existing is not None and existing[0].id == before.id: + before = existing[0] + self.sniped[before.channel.id] = ( before, after,