Skip to content

Conversation

@aevitas
Copy link
Owner

@aevitas aevitas commented Dec 14, 2025

Fixes #19 by changing IsSnowflake to only look for the timestamp component, as the others can legitimately be 0 after masking. This should improve compatibility with Discord generated snowflakes especially.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IsSnowflake validation incorrectly rejects valid IDs

2 participants