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