mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
refactor(Sticker): rename Snowflake variable (#5575)
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
const Base = require('./Base');
|
const Base = require('./Base');
|
||||||
const { StickerFormatTypes } = require('../util/Constants');
|
const { StickerFormatTypes } = require('../util/Constants');
|
||||||
const Snowflake = require('../util/SnowflakeUtil');
|
const SnowflakeUtil = require('../util/SnowflakeUtil');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a Sticker.
|
* Represents a Sticker.
|
||||||
@@ -60,7 +60,7 @@ class Sticker extends Base {
|
|||||||
* @readonly
|
* @readonly
|
||||||
*/
|
*/
|
||||||
get createdTimestamp() {
|
get createdTimestamp() {
|
||||||
return Snowflake.deconstruct(this.id).timestamp;
|
return SnowflakeUtil.deconstruct(this.id).timestamp;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user