Skip to content

Commit

Permalink
fix: RichEmbed timestamp cloning
Browse files Browse the repository at this point in the history
  • Loading branch information
Lewdcario committed Mar 3, 2018
1 parent 363ead9 commit 8f9e911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structures/MessageEmbed.js
Expand Up @@ -63,7 +63,7 @@ class MessageEmbed {
* The timestamp of this embed
* @type {number}
*/
this.createdTimestamp = data.timestamp;
this.timestamp = data.timestamp;

/**
* The thumbnail of this embed
Expand Down

1 comment on commit 8f9e911

@Dereavy
Copy link

@Dereavy Dereavy commented on 8f9e911 Mar 4, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the same note :

this.iconURL = data.icon_url;

this.proxyIconUrl = data.proxy_icon_url;

Also aren't being cloned

Please sign in to comment.