Expand description

twilight-interactions

Macros and utilities to make Discord Interactions easy to use with Twilight.

Note: This crate is not affiliated with the Twilight organization.

Features

Slash commands

This crate provides a convenient way to parse slash command data on typed structures with derive macros. It also provides a way to register commands to the Discord API using the same models.

See the command module for more information.

Versioning

To facilitate dependencies management, this crate will always use the same major version as the official twilight crates.

Modules

  • Slash command parsing and creation.
  • Error types used by the crate.