mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-27 17:23:00 +00:00
Fixed Snowflake.Valid
This commit is contained in:
parent
8fc7229c3f
commit
a951eb2b89
|
@ -34,7 +34,7 @@ func (s Snowflake) String() string {
|
|||
}
|
||||
|
||||
func (s Snowflake) Valid() bool {
|
||||
return uint64(s) < 1
|
||||
return uint64(s) > 0
|
||||
}
|
||||
|
||||
func (s Snowflake) Time() time.Time {
|
||||
|
|
Loading…
Reference in a new issue