Skip to content

Commit

Permalink
chore: 📝 add example and update links
Browse files Browse the repository at this point in the history
  • Loading branch information
4doist committed Jul 12, 2024
1 parent e7e2c60 commit 357def1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A robust library of constants defining Discord's limits, aimed at streamlining b

## Constants

For a full list of constants, please refer to the [source code](https://github.com/sunarjs/discord-limits).
For a full list of constants, please refer to the **[JSR documentation](https://jsr.io/@sunar/discord-limits/doc)**.

- [Application Limits](https://github.com/sunarjs/discord-limits/blob/main/src/application.ts)
- [Autocomplete Limits](https://github.com/sunarjs/discord-limits/blob/main/src/autocomplete.ts)
Expand All @@ -28,6 +28,12 @@ For a full list of constants, please refer to the [source code](https://github.c
- [Text Input Limits](https://github.com/sunarjs/discord-limits/blob/main/src/textInput.ts)
- [User Limits](https://github.com/sunarjs/discord-limits/blob/main/src/user.ts)

## Usage

```js
import { ApplicationCommandNameLimit } from 'discord-limits';
console.log('The limit of the application command name is:', ApplicationCommandNameLimit)
```

## Contributing

Expand All @@ -39,4 +45,4 @@ This library was heavily inspired by the [SapphireJS utilities library](https://

## License

Completely free and licensed under the [MIT license](https://github.com/sunarjs/sunar/blob/main/README.md). But if you want, you can give me a star on [GitHub](https://github.com/sunarjs/discord-limits).
Completely free and licensed under the [MIT license](https://github.com/sunarjs/discord-limits/blob/main/README.md). But if you want, you can give me a star on [GitHub](https://github.com/sunarjs/discord-limits).

0 comments on commit 357def1

Please sign in to comment.