Skip to content

Releases: baptiste0928/twilight-interactions

v0.16.0-rc.1

16 May 00:29
v0.16.0-rc.1
5e2339e
Compare
Choose a tag to compare
v0.16.0-rc.1 Pre-release
Pre-release

Added

  • A basic example bot implementation has been added in the examples directory
    of the repository.
  • Localizations are now handled by the DescLocalizations and
    NameLocalizations structs.

Changed

  • Updated to twilight-model 0.16.0-rc.1 (@fdnt7)
  • Localization functions now return DescLocalizations or NameLocalizations.
  • desc should not be provided anymore if desc_localizations is provided.
  • Various improvements to the documentation.
  • Improved macro error messages.

v0.15.2

23 Jun 13:54
f0114c0
Compare
Choose a tag to compare

Added

  • Subcommands enums now support Boxed variants to avoid large enums.
  • ResolvedMentionable type can be used to resolve a mentionable to either a user or a role.

Fixed

  • Strings are now trimmed in macro attributes to match Discord's behavior.

Changed

  • Bumped MSRV to 1.67.

v0.15.1

26 Mar 09:48
8919e08
Compare
Choose a tag to compare

Fixed

  • Attribute parameters names are now correctly validated. (#21)

Changed

  • Updated to syn 2.
  • Error messages are now in lowercase to match compiler errors.

v0.15.0

07 Feb 18:16
Compare
Choose a tag to compare

Changed

v0.14.4

14 Jan 10:38
Compare
Choose a tag to compare

Added

v0.14.3

08 Jan 19:20
Compare
Choose a tag to compare

Added

  • Support age-restricted commands with the nsfw attribute.

Fixed

  • Fixed compilation errors with twilight-model 0.14.1 and above.

v0.14.2

27 Nov 19:00
Compare
Choose a tag to compare

Fixed

v0.14.1

21 Nov 16:31
Compare
Choose a tag to compare

Fixed

  • Set required to None on subcommand and subcommand group options.

v0.14.0

16 Nov 09:14
Compare
Choose a tag to compare

Changed

  • Upgraded to twilight-model 0.14.
  • MSRV bumped to 1.64.

v0.13.0

15 Aug 11:36
Compare
Choose a tag to compare

Changed

  • Upgraded to twilight-model 0.13.
  • Most types exported by this crate do not longer implement Eq.

Removed

  • Number type has been removed in twilight-model, use f64 instead.