Serenity is a Rust library for building Discord bots and integrations through Discord’s official API. It wraps Discord’s HTTP and gateway systems so developers can handle messages, events, commands, cache data, and bot sessions from Rust. The library provides a client builder, token validation, event dispatching, context objects, and handlers for reacting to Discord activity. It also manages gateway shards transparently, which reduces the complexity of scaling bot connections. Serenity includes examples for common bot behaviors and can be paired with related Rust projects such as poise for command frameworks and songbird for voice. It is best suited for developers who want Discord API access with Rust’s safety, performance, and async ecosystem.

Features

  • Rust Discord API wrapper
  • HTTP and gateway support
  • Async event handling
  • Automatic shard management
  • Cache-backed data access
  • Examples and ecosystem integrations

Project Samples

Project Activity

See All Activity >

Categories

Chat

License

ISC License

Follow serenity

serenity Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of serenity!

Additional Project Details

Operating Systems

Mac, Windows

Programming Language

Rust

Related Categories

Rust Chat Software

Registered

2 days ago