twilight_interactions/
lib.rs

1//! # twilight-interactions
2//!
3//! Macros and utilities to make Discord Interactions easy to use with [Twilight](https://twilight.rs/overview.html).
4//!
5//! **Note:** This crate is not affiliated with the Twilight organization.
6//!
7//! ## Features
8//!
9//! ### Slash commands
10//! This crate provides a convenient way to parse slash command data on typed
11//! structures with derive macros. It also provides a way to register commands
12//! to the Discord API using the same models.
13//!
14//! See the [`command`] module for more information.
15//!
16//! ## Versioning
17//! To facilitate dependencies management, this crate will always use the same
18//! major version as the official `twilight` crates.
19#![cfg_attr(docsrs, feature(doc_cfg))]
20
21pub mod command;
22pub mod error;