Skip to content
This repository has been archived by the owner on Nov 4, 2021. It is now read-only.

Releases: jowsey/discord.js-menu

2.3.1

27 Dec 19:14
1e15f56
Compare
Choose a tag to compare

Fixes

  • Fixes issue where pages wouldn't be updated/edited if triggered by a custom emote ID.

2.3.0

26 Dec 04:19
8cedf84
Compare
Choose a tag to compare

Additions

  • Reactions can now run functions instead of leading to a page.
  • Reactions will now carry over if the next page has the same set of reactions.
  • Reactions that aren't part of the page and those added by other users are now automatically removed to prevent confusion.

Fixes

  • A bunch of tiny fixes to typings / TSDoc stuff.
  • Fixed issue with reactions not disappearing when the menu finishes due to idle time.
  • A bunch of other tiny updates to keep things running smoothly.

Changes

  • Re-written README to be more logical (hopefully?)

Other

  • Updated Discord.js dependency to 12.5.1 (or compatible)

2.2.2

08 Nov 10:51
6c2aac2
Compare
Choose a tag to compare

Fixes

  • Fixed the fix with using preset destinations. This some bs for real smh

2.2.1

08 Nov 10:43
d3615e0
Compare
Choose a tag to compare

Fixes

  • Fixed an error that would throw when using a preset destination (first, next, etc.), when the menu would try to verify if the reactions were the same.

2.2.0

08 Nov 10:16
55ccf99
Compare
Choose a tag to compare

Optimizations

  • Don't delete all reactions if the new page's reactions are the same as the current page's.

2.1.1

06 Oct 16:51
f95a4cc
Compare
Choose a tag to compare

Additions

  • Don't send menus in DMs!
    Added a warning when trying to send a menu to a DM (fundamentally broken, see latest commit)

2.1.0

06 Oct 16:25
dc32cad
Compare
Choose a tag to compare

Apologies for not using the release system before.

Additions

New feature additions.

  • Custom Emoji Reactions
    You can now add custom emojis as reactions by substituting the emoji symbol (eg: 😳) for the ID of the emoji (eg: 745849372638471028). I've tested this and confirmed it works, but please do create an issue if you have any issues with custom emojis.
  • Configurable reaction collector timeouts
    You can now configure how long the reaction collector on the menu will run for before it stops to save resources. This is the done by setting the fourth parameter of the Menu to the number of milliseconds you wish for it to last, If not set, this defaults to 180000 (3 minutes).

Changes

  • Cleaning up reactions
    When a menu stops collecting reactions, it will now remove the reactions from the menu to reduce unneeded clutter and confusion.