From 956df56f98f8b3aae11e711b6eb906317e682f23 Mon Sep 17 00:00:00 2001 From: "diamondburned (Forefront)" Date: Mon, 20 Jan 2020 20:30:13 -0800 Subject: [PATCH] Reverted Snowflake type changes --- discord/snowflake.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/snowflake.go b/discord/snowflake.go index 0dc673c..3febc47 100644 --- a/discord/snowflake.go +++ b/discord/snowflake.go @@ -8,7 +8,7 @@ import ( const DiscordEpoch = 1420070400000 * int64(time.Millisecond) -type Snowflake uint64 +type Snowflake int64 func NewSnowflake(t time.Time) Snowflake { return Snowflake(TimeToDiscordEpoch(t) << 22)