discord_webhook

A simple Gleam library for sending Discord webhook.
discord_webhook makes it easy to send messages and embeds to Discord from Gleam projects.
Installation
Add the package:
gleam add discord_webhook
Import it:
import discord_webhook
Quick Example
import discord_webhook
pub fn main() {
let webhook = discord_webhook.new("YOUR_WEBHOOK_URL")
discord_webhook.send(webhook, "Hello from discord_webhook!")
}
Features
| Feature | Status |
| Plain text messages | โ
Done |
| Embeds | โ
Done |
| Rich embeds | ๐จ |
| Name & avatar override | ๐จ |
| Allowed mentions | ๐จ |
| File attachments | ๐จ |
| Rate limiting | ๐จ |
| Detailed errors | ๐ |
โ
- Done
๐จ - In Progress
๐ - Planned
โ - Not Planned
Roadmap
v0.1.0
v0.2.0
v0.3.0
v1.0.0
Have a feature request or suggestion? Open an issue on GitHub.
Contributing
Contributions are welcome!
-
Fork the repository
-
Clone your fork:
git clone https://github.com/YOUR_USERNAME/discord_webhook.git
cd discord_webhook
- Install dependencies:
gleam deps download
- Create a branch:
git checkout -b my-feature
-
Make your changes and add tests if needed.
-
Run tests:
gleam test
- Push and open a pull request.
License
This project is licensed under the MIT License.
See the
LICENSE
file for details.
Links
Contact
If you have questions, suggestions, or need help:
- Discord Username:
@dj.kaif
- Direct Profile: https://discord.com/users/1237644967422459996
Built with Gleam by DJ KAIF.