serenity-rs/serenity
A Rust library for the Discord API. observed · 2026-08-28
Health v2 · maintenance only
74/100
- Activity 96
- Release rhythm 30
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 201.0
- age_days: 3587
- days_rel: 256
- days_push: 25
- n_releases_24m: 3
Adoption not part of the score
5594 stars · 669 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Serenity is a Rust library for building Discord bots, providing a typed client for the Discord REST and gateway APIs. It transparently handles sharding, event dispatching, and an automatic cache to reduce HTTP requests.
Use cases
- build a discord bot in rust
- respond to discord messages with a bot
- handle discord gateway events
- create a discord bot with slash commands
- manage discord guilds and channels programmatically
- run a sharded discord bot
When to choose
- you want a low-level, idiomatic Rust client for the Discord API
- you need fine-grained control over event handling and caching
- you want to build a framework like poise on top of the raw API
When to avoid
- you want a batteries-included command framework - use poise instead
- you need voice channel audio - use the songbird library
- you are not using Rust
Facets
library · maturity active
http-client websocket sdk messaging-platforms apis developer-tools rust cross-platform discord-api discord-bot async tokio gateway sharding bot-framework
3 sources
- readme: https://github.com/serenity-rs/serenity · fetched 2026-08-28 · e911822d1c95
- homepage: https://discord.gg/serenity-rs · fetched 2026-08-29 · e38c36abb012
- registry_crates: https://crates.io/api/v1/crates/serenity · fetched 2026-08-29 · 5b19683c4e05
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| serenity-rs/serenity | main | 74 |
For agents
markdown · JSON · MCP: product_card(name="serenity-rs/serenity")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem