aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-07-05 23:49:22 -0400
committerRapptz <[email protected]>2019-07-05 23:52:47 -0400
commit70e62e8fe40503694d66b8200a896d00c61c07f6 (patch)
tree2796e089788575dc6bfcb3675277a85dceae21c2
parentUse the standard way of detecting RTD (diff)
downloaddiscord.py-70e62e8fe40503694d66b8200a896d00c61c07f6.tar.xz
discord.py-70e62e8fe40503694d66b8200a896d00c61c07f6.zip
Fix regression where Message.edited_at would not update during edits
-rw-r--r--discord/message.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/message.py b/discord/message.py
index e2812c7d..b283ee3f 100644
--- a/discord/message.py
+++ b/discord/message.py
@@ -354,6 +354,9 @@ class Message:
except AttributeError:
pass
+ def _handle_edited_timestamp(self, value):
+ self._edited_timestamp = utils.parse_time(value)
+
def _handle_pinned(self, value):
self.pinned = value