aboutsummaryrefslogtreecommitdiff
path: root/discord/state.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/state.py')
-rw-r--r--discord/state.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/discord/state.py b/discord/state.py
index be4df954..cd65ba46 100644
--- a/discord/state.py
+++ b/discord/state.py
@@ -238,7 +238,10 @@ class ConnectionState:
message = self._get_message(data.get('id'))
if message is not None:
older_message = copy.copy(message)
- if 'content' not in data:
+ if 'call' in data:
+ # call state message edit
+ message._handle_call(data['call'])
+ elif 'content' not in data:
# embed only edit
message.embeds = data['embeds']
else: