Skip to content

Releases: baptiste0928/twilight-interactions

v0.8.0

12 Dec 15:47
Compare
Choose a tag to compare

Added

  • Subcommands and subcommand groups are supported by CommandModel and CreateCommand macros.
  • Command option settings like max_value are validated when parsing command.

Changed

  • Updated to twilight-model 0.8.0.
  • CommandModel::from_interaction now takes a CommandInputData.
  • Internal types have been moved to a separate module.
  • Improved documentation.

Removed

  • http feature has been removed.

v0.7.2

23 Nov 15:22
Compare
Choose a tag to compare

Added

  • New autocomplete, max_value and min_value on CreateCommand derive macro.

Changed

  • Updated to twilight-model 0.7.2.

v0.7.1

10 Nov 17:44
Compare
Choose a tag to compare

Added

  • Support of command option choices with the CommandOption and CreateOption traits.
  • A dummy implementation is generated in case of macro error to avoid additional "unimplemented trait" compilation errors

Changed

  • ApplicationCommandData can be converted into a twilight Command using From.

v0.7.0

28 Oct 17:11
Compare
Choose a tag to compare

Added

  • Initial release of twilight-interactions and twilight-interactions-derive crates.