Crate rusty_interaction[−][src]
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
handler | Provides an entire handler to handle Discord interactions. |
security | Provides a helper function to validate Discord interactions. |
types | Exposes useful data models |
Attribute Macros
component_handler | Convenience procedural macro that allows you to bind an async function to the [ |
defer | Send out a deffered channel message response before doing work. |
slash_command | Convenience procedural macro that allows you to bind an async function to the [ |