Releases: baptiste0928/twilight-interactions
Releases · baptiste0928/twilight-interactions
v0.8.0
Added
- Subcommands and subcommand groups are supported by
CommandModel
andCreateCommand
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 aCommandInputData
.- Internal types have been moved to a separate module.
- Improved documentation.
Removed
http
feature has been removed.
v0.7.2
Added
- New
autocomplete
,max_value
andmin_value
onCreateCommand
derive macro.
Changed
- Updated to
twilight-model
0.7.2.
v0.7.1
Added
- Support of command option choices with the
CommandOption
andCreateOption
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 twilightCommand
usingFrom
.
v0.7.0
Added
- Initial release of
twilight-interactions
andtwilight-interactions-derive
crates.