Skip to content

Releases: grammyjs/commands

v0.10.0

23 Aug 03:51
Compare
Choose a tag to compare

What's Changed

  • BREAKING CHANGE: rename Commands class to CommandGroup by @carafelix in #35
  • feat: Add method for accessing command entities hydrated with matching custom prefixes by @carafelix in #31
  • feat: add commandNotFound filter / helper function for setting up a did you mean? handler by @carafelix in #35
  • chore: add git hooks and lint-staged by @roziscoding in #40
  • feat: add API compliance validation to setMyCommands calls by @roziscoding in #36
  • chore: change indentWidth to 2 by @roziscoding in #41
  • docs: update README to CommandGroup vs Commands by @roziscoding in #42
  • v0.10.0 by @roziscoding in #43

Full Changelog: v0.9.0...v0.10.0

v0.9.0

24 Jul 13:15
v0.9.0
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.1...v0.9.0

v0.8.1

16 Jul 09:55
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.8.0...v0.8.1

0.8.0

19 Jun 01:02
Compare
Choose a tag to compare

What's Changed

Major changes:

  • add LanguageCode type to interfaces that used language_code
  • narrow getNearestCommand output based on the user language, add ignoreLocalization flag to revert this
  • expand search of getNearestCommand to multiple Commands instances
  • add .toElementals method, which serialize all register commands, and their localizations.
  • refactor mergeMyCommandsParams function into MyCommandParams static class

minor:

  • lower default similarity threshold for FuzzyMatch
  • add array support for setMyCommands
  • jsdoc improvements

Full Changelog: v0.7.0...0.8.0

v0.7.0

24 May 18:17
v0.7.0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.1...v0.7.0

v0.6.1

29 Apr 19:44
v0.6.1
63bc0fa
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.6.0...v0.6.1

v0.6.0

27 Apr 19:00
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.1...v0.6.0

v0.5.1

27 Apr 17:53
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.0...v0.5.1

v0.5.0

04 Apr 13:08
b84f35f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.4.0...v0.5.0

v0.4.0

15 Oct 19:46
47a17e7
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

What's Changed

  • custom prefixes
  • support for regex commands
  • support for commands in the middle of messages
  • option to disable or require bot's username for commands to work

BREAKING CHANGE: multiple middleware can no longer be passed as multiple parameters. use an array instead

Full Changelog: v0.3.1...v0.4.0