mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Use copy.copy instead of copy.deepcopy for on_message_edit.
This commit is contained in:
parent
343e3376ea
commit
d3ac141b0f
@ -184,7 +184,7 @@ class ConnectionState(object):
|
||||
older_message = self._get_message(data.get('id'))
|
||||
if older_message is not None:
|
||||
# create a copy of the new message
|
||||
message = copy.deepcopy(older_message)
|
||||
message = copy.copy(older_message)
|
||||
# update the new update
|
||||
for attr in data:
|
||||
if attr == 'channel_id' or attr == 'author':
|
||||
|
Loading…
x
Reference in New Issue
Block a user