aboutsummaryrefslogtreecommitdiff
path: root/discord/state.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/state.py')
-rw-r--r--discord/state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/state.py b/discord/state.py
index b49f3141..0d2bd6f3 100644
--- a/discord/state.py
+++ b/discord/state.py
@@ -391,7 +391,7 @@ class ConnectionState:
message._handle_call(data['call'])
elif 'content' not in data:
# embed only edit
- message.embeds = [Embed.from_data(d) for d in data['embeds']]
+ message.embeds = [Embed.from_dict(d) for d in data['embeds']]
else:
message._update(channel=message.channel, data=data)