Expand description

Rusty-interaction is a library that allows you to work with Discord’s new Interactions. It can expose types and provides helper functions to validate your Interactions. It can optionally provide a handler that allows you to receive interactions via outgoing webhook.

Note that Discord also has official documentation.

Examples

See the examples directory.

Re-exports

pub use actix;
pub use log;

Modules

Provides an entire handler to handle Discord interactions.

Provides a helper function to validate Discord interactions.

Exposes useful data models

Traits

A trait for defining builder patterns.

Attribute Macros

Convenience procedural macro that allows you to bind an async function to the [InteractionHandler] for handling component interactions.

Send out a deffered channel message response before doing work.

Convenience procedural macro that allows you to bind an async function to the [InteractionHandler]