Skip to content

8.0.0-beta.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@1Computer1 1Computer1 released this 22 Mar 17:25
· 101 commits to master since this release

This release is last known to work with discord.js commit 9b2bf03.

Changes

  • Added restContent match which works like rest but also matches flags.
  • Changed Flag.continue to also take the rest of the flags (i.e. it works like restContent instead of rest now).
    • This is for the rare case where the parent command of a subcommand has flags.
      It would make more sense for the flags after the subcommand name to be delegated to the subcommand instead of the parent command.
      If you wish to have the rest behavior, you can match rest yourself.

Fixes

  • Fixed text and content match behaviors being switched around.
  • Fixed content and rest match not keeping whitespace and quotes.