Expand description


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

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


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.


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


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