Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Releases: itsMapleLeaf/gatekeeper

Release 0.9.1

12 Dec 09:52
Compare
Choose a tag to compare

Small patch to improve error handling in loadFile when using ES modules. Before it swallowed the actual error that occurred, showing a generic "cannot use import statement outside a file" error, but now it should show the actual problem that occurred.

Release 0.9.0

30 Nov 03:16
Compare
Choose a tag to compare
  • Converted project to use and publish an ES module build. I tested this as well as I could, but please report any issues relating to this that you find.
  • Fixed an error when deferring and immediately replying

Release 0.8.0

28 Nov 02:40
Compare
Choose a tag to compare

What's Changed

  • Added command aliases by @itsMapleLeaf in #16
  • Improved command sync: commands won't be deleted before getting updated

Full Changelog: v0.7.0...v0.8.0

Release 0.7.0

26 Nov 07:01
Compare
Choose a tag to compare

What's Changed

  • Allow for channelTypes for the "CHANNEL" option type by @Crawron in #14

New Contributors

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

v0.6.1

29 Oct 03:43
Compare
Choose a tag to compare

Fixed a bug where slash commands were being recreated when they shouldn't have.

v0.6.0

16 Oct 05:21
Compare
Choose a tag to compare
  • Made logging more configurable. It accepts an array of levels, so if you only want warnings and errors, you can pass logging: ['warn', 'error']
  • Added an onError callback to do something when an error happens, like logging your own errors, or sending a report to an error reporting service, etc.

v0.5.0

11 Oct 04:15
Compare
Choose a tag to compare
  • BREAKING: New public interface, see the README and guide for new usage. Commands still work the same, though. Same concepts and everything
  • Previously, running enough commands would cause a "max listener limit exceeded" warning. The internals received an overhaul that uses a single command listener for interactions, so that warning should no longer show. The library should use less memory as a side-effect.
  • Reduced logging
  • Added message on the interaction context for button and select menu components, to access the message that the component is on
  • Added message to ReplyHandle, to access the message associated with a reply

v0.4.0

07 Oct 03:30
Compare
Choose a tag to compare

Added a new function context.ephemeralDefer(), when you want to show a loading message just to the user to ran the command.

Also added an extra error check to prevent the whole bot from crashing from certain errors.

v0.3.1

05 Sep 22:19
Compare
Choose a tag to compare

Just a small patch to remove Jest as a hard dependency, oops 🙃

Also removed the lodash dependency, since I was only using two functions from it, easily replaced with helpers ¯\_(ツ)_/¯

Button enhancements

25 Aug 03:01
Compare
Choose a tag to compare
  • Added disabled button support, just for completeness' sake, but I'd personally recommend going with a more inclusive UX
  • Added support for link buttons in the form of a separate linkComponent
  • Fixed an issue with commands getting registered too often