From 8b602ebed48b9aba93c8c9222ed58d8c745b1690 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 ef12db888..2c8a45fdb 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1178,7 +1178,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; } export class StreamDispatcher extends VolumeInterface {