1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-30 18:53:30 +00:00

Fixed Snowflake.Valid

This commit is contained in:
diamondburned (Forefront) 2020-01-14 20:46:47 -08:00
parent 8fc7229c3f
commit a951eb2b89

View file

@ -34,7 +34,7 @@ func (s Snowflake) String() string {
} }
func (s Snowflake) Valid() bool { func (s Snowflake) Valid() bool {
return uint64(s) < 1 return uint64(s) > 0
} }
func (s Snowflake) Time() time.Time { func (s Snowflake) Time() time.Time {