mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
feat(SnowflakeUtil): add timestampFrom (#7058)
This commit is contained in:
@@ -59,7 +59,7 @@ class Message extends Base {
|
||||
* The timestamp the message was sent at
|
||||
* @type {number}
|
||||
*/
|
||||
this.createdTimestamp = SnowflakeUtil.deconstruct(this.id).timestamp;
|
||||
this.createdTimestamp = SnowflakeUtil.timestampFrom(this.id);
|
||||
|
||||
if ('type' in data) {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user