Skip to content

v0.6.2

Latest

Choose a tag to compare

@arqunis arqunis released this 13 Apr 16:25
· 1 commit to current since this release

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 default Admin and Developer to be initialized to owners.
  • 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 Command and ArgumentParse errors (6ead1e1)
    • This prevents these errors from unintentionally pinging users.
  • Fixed additional_prefixes usage 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-subscriber instead of env_logger (db10b12)
  • Context menu commands now properly check default_member_permissions (e850875)
    • Previously, the builder failed to set default_member_permissions when creating a context menu command.
  • 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 User returned by a user context menu command now includes PartialMember data when available (4c7661d)
  • Command and ArgumentParse error 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!