Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Snowflake type, which is a string with a custom UnmarshalJSON. #1482

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 12, 2024

  1. Add Snowflake type, which is a string with a custom UnmarshalJSON.

    Change all fields which are of type `snowflake` in the Discord API to this new type.
    
    The Snowflake type will unmarshal all string values (some special identifiers, such as `@me` are used), and any valid uint64.
    kagadar committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    a323fa3 View commit details
    Browse the repository at this point in the history