From 8286d1a0fc3e86a10b7d5f977836b0e0fe611c27 Mon Sep 17 00:00:00 2001 From: Lucas Kellar Date: Sun, 23 Dec 2018 16:16:28 -0600 Subject: [PATCH] typings(SnowflakeUtil): add optional "timestamp" parameter to generate (#2998) --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index ea8d55e7f..59e7bf515 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -991,7 +991,7 @@ declare module 'discord.js' { export class SnowflakeUtil { public static deconstruct(snowflake: Snowflake): DeconstructedSnowflake; - public static generate(): Snowflake; + public static generate(timestamp?: number | Date): Snowflake; } const VolumeMixin: (base: Constructable) => Constructable;