Sparkle Convenience

GitHub crates.io docs.rs

A wrapper over Twilight that's designed to be convenient to use, without relying on callbacks and mostly following Twilight patterns while making your life easier

You should use this if you:

You shouldn't use this if you:

Interaction Handling

Provides methods to handle interactions conveniently:

Error Handling

Provides an enum to conveniently handle errors:

Usage

The entrypoint of this library is the Bot struct, which combines common Twilight data and provides abstraction methods on it, the documentation for it also has a full-fledged example of a /ping command

Looking for Ideas

The scope of this project includes anything in Twilight that could be more convenient to use, please make an issue for anything that falls under this category!

Caching

HTTP-fallback is not a good idea for many reasons, and there isn't much this crate could provide besides that, but caching everything possible will give you a peace of mind. If memory usage is a concern, consider using Sparkle Cache