Skip to content

Commit

Permalink
chore: tags (#80)
Browse files Browse the repository at this point in the history
* add example usage to snowflake tag
  • Loading branch information
MrMythicalYT committed May 13, 2022
1 parent e9303e3 commit 6026470
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tags/tags.toml
Expand Up @@ -235,7 +235,12 @@ The "canary" client is Discord's public test build
[snowflake]
keywords = ["snowflake", "", "discord snowflake", "discord id", "snowflakes"]
content = """
Discord ids follow the snowflake format: [learn more](<https://discord.com/developers/docs/reference#snowflakes>)
• Discord ids follow the snowflake format: [learn more](<https://discord.com/developers/docs/reference#snowflakes>)
• Discord ids must be represented as strings as they are larger than `Number.MAX_SAFE_INTEGER`, the largest integer that can be represented in JavaScript
```diff
- client.guilds.cache.get(123456789012345678)
+ client.guilds.cache.get("123456789012345678")
```
"""

[typescript]
Expand Down

0 comments on commit 6026470

Please sign in to comment.