Current section

Files

Jump to
grom README.md
Raw

README.md

# grom
[![Package Version](https://img.shields.io/hexpm/v/grom)](https://hex.pm/packages/grom)
[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/grom/)
## 🌟 A Sans-IO Discord REST API Wrapper
**Grom** is a Discord REST API wrapper written in Gleam.
It aims to be up-to-date and fully-featured, while also providing an API that is familiar to the Gleam programming language.
Grom is considered __experimental__, and while it has released as v1.0.0, there are **many** breaking changes to come.
These changes will either stem from the library's internal changes, or the Discord API's changes.
Features:
* [x] Full Discord REST API support in the library.
* [x] Slash/message/user commands, interactions.
* [x] Components v2, along with modal components.
* [x] Supports all Gleam targets, including the browser.
* [x] Provides decoders and encoders for all objects, allowing you to create custom functionality.
* [ ] Bearer token authentication.
## πŸ’» Examples
You can see the examples [here](./examples). These will be rolled out over time.
**NOTE**: These are currently written for the old version 6. Please don't depend on them too much.
## πŸ“‹ See also:
* [ ] [agat](https://tangled.org/folospior.dev/agat) - a Discord Gateway client
* [ ] [nil](https://tangled.org/folospior.dev/nil) - a single-node HTTP client for grom
* [ ] [silent_unseen](https://tangled.org/silent_unseen) - a Discord Voice Gateway client
* [ ] [commandos](https://tangled.org/commandos) - an HTTP interactions middleware
## πŸ“ƒ Documentation
Further documentation can be found at <https://hexdocs.pm/grom>.