This repository has been archived by the owner on Nov 4, 2021. It is now read-only.
Releases: jowsey/discord.js-menu
Releases · jowsey/discord.js-menu
2.3.1
2.3.0
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
2.2.1
2.2.0
2.1.1
2.1.0
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.