mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
refactor(Presence): Remove redundant date parsing (v13) (#8341)
This commit is contained in:
@@ -276,7 +276,7 @@ class Activity {
|
|||||||
* Creation date of the activity
|
* Creation date of the activity
|
||||||
* @type {number}
|
* @type {number}
|
||||||
*/
|
*/
|
||||||
this.createdTimestamp = new Date(data.created_at).getTime();
|
this.createdTimestamp = data.created_at;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user