0.6.2
New features:
- Added handler for non-command messages (1f0abfb)
- Added
builtins::pretty_help, a help command that uses embeds (ec19915) - Added support for modifying the last invocation of a command (c67dde5)
- This makes it possible to shorten or lengthen a cooldown after invocation.
- Added ability to only initialize certain roles to owners (b887224)
- This makes it possible to specify
TeamMemberRoles other than the defaultAdminandDeveloperto be initialized to owners.
- This makes it possible to specify
- Added support for editing initial interaction response attachments (525bd69)
- Added support for manual cooldowns on single commands (7ae055c)
- Added support for polls (3eefed4)
- Added support for user-installed apps, aka user apps (773da6c)
Behavior changes:
- The pound sign (#) is now supported in language identifiers (e.g.,
c#,f#) in code blocks (59dba56) - Fixed event handler example to remove a race condition and prevent the bot from replying to itself (9def484, 48b0318)
- Disabled allowed mentions for
CommandandArgumentParseerrors (6ead1e1)- This prevents these errors from unintentionally pinging users.
- Fixed
additional_prefixesusage in the basic structure example (8ba38c0) - Snowflake ID arguments to prefix commands are now parsed as mentions where appropriate (bbc837a)
- Updated examples to use
tracing-subscriberinstead ofenv_logger(db10b12) - Context menu commands now properly check
default_member_permissions(e850875)- Previously, the builder failed to set
default_member_permissionswhen creating a context menu command.
- Previously, the builder failed to set
- Command description length is now determined based on
chars instead of bytes (e144ede)- This resolves an artifical constraint on languages that use multibyte (CJK) characters. Further discussion in #379.
- The resolved
Userreturned by a user context menu command now includesPartialMemberdata when available (4c7661d) CommandandArgumentParseerror replies are now ephemeral (24fe146)
Miscellaneous:
- Reduced generated code for field conversions in macros (5b369bb)
- Bumped Rust edition to 2021 and added edition to
.rustfmt.toml(1c34184, f1e79b5)
Detailed changelog: v0.6.1...v0.6.2
Thanks to @kangalio, @emilyyyylime, @GnomedDev, @fee1-dead, @asibahi, @c-git, @Spacerulerwill, @matteopolak, @jamesbt365, @NotNorom, @keiveulbugs, @arqunis, @ravener, @DocJade, @fgardt, @cycle-five, @Nydauron, @zkxs, @yuimarudev, @meditationmind, @nwerosama, @black-sock, @TapGhoul, and @HactarCE!