discordjs-pagination

A pagination package for Discord.js

MIT License

Downloads
201
Stars
6
Committers
2

Bot releases are visible (Hide)

discordjs-pagination - 1.5.9 Latest Release

Published by acegoal07 8 months ago

1.5.9

  • Adds the ability to add attachments to the pagination to be used in the emebeds
discordjs-pagination - 1.5.8

Published by acegoal07 11 months ago

1.5.8

  • Improves how single embeds are handled when passed in
  • Makes it so interaction pagination with image lists can now handle 1 item being passed in
discordjs-pagination - 1.5.7

Published by acegoal07 about 1 year ago

1.5.7

  • Deprecates PageCreator and ButtonCreator
  • Removes all lib files for removed functions
  • Adds some extra checks to make sure parameters are being passed in correctly
  • Removes unused lib calls
  • Adds more error catching to the editing of the pagination to try and prevent issues
discordjs-pagination - 1.5.6

Published by acegoal07 about 1 year ago

1.5.6

  • Fixes timeout settings error
  • Makes it so ephemeral interaction can now use autodelete setting
  • Makes it so ephemeral interaction now have the buttons or select menu disabled on timeout
discordjs-pagination - 1.5.5

Published by acegoal07 about 1 year ago

1.5.5

  • Fixes the timeout crash when using interaction paginations
  • Fixes ephemeral setting on interaction paginations
discordjs-pagination - 1.5.4

Published by acegoal07 about 1 year ago

1.5.4

  • Improves the disable function at the end of the pagination for select menus and buttons
  • Improves error catching to try and make fixing errors easier
discordjs-pagination - 1.5.3

Published by acegoal07 over 1 year ago

1.5.3

  • Fixes the issue with authorIndependent where if enabled there will be no response from the buttons
discordjs-pagination - 1.5.2

Published by acegoal07 over 1 year ago

1.5.2

  • Adds setImageList which allows you to pass attachments into the pagination instead of embeds
  • Starts deprecation of createButtons and createPages but might be reversed depending on how people feel
discordjs-pagination - 1.5.1

Published by acegoal07 over 1 year ago

1.5.1

  • Quality of life improvements to code
discordjs-pagination - 1.5.0

Published by acegoal07 almost 2 years ago

1.5.0

  • Improves TypeScript files
  • Cleans up files and cut's down on unneeded files in published version
  • Adds build script to package.json
  • Renames options params in index.js to settings
discordjs-pagination - 1.4.9

Published by acegoal07 almost 2 years ago

1.4.9

  • Fixes an error with disabling message buttons after timeout
  • Tweaks default timeout amount
discordjs-pagination - 1.4.8

Published by acegoal07 almost 2 years ago

1.4.8

  • Removes unused settings options from setPortal
  • Renames pageBuilderInfo to pageBuilderData
  • Renames buttonBuilderInfo to buttonBuilderData
  • Fixes setProgressBar settings input
  • Fixes enableSelectMenu settings input
  • Reworks how enableSelectMenu creates the selectMenu and lists the labels
  • Adds new disableDisabledButtons option which after the timeout removes the buttons or selectMenu from the pagination but leaves the embed
  • Wiki has been updated to show new features
discordjs-pagination - 1.4.7

Published by acegoal07 almost 2 years ago

1.4.7

  • Fixes PageBuilder not receiving input
  • Adds more definitions to the functions
  • Set's required Discordjs version to 14.7.1
discordjs-pagination - 1.4.6

Published by acegoal07 almost 2 years ago

1.4.6

  • Removes deprecated SelectMenuBuilder calls and replaces them with new StringSelectMenuBuilder calls
discordjs-pagination - 1.4.5

Published by acegoal07 almost 2 years ago

1.4.5

  • Fixes isSelectMenu deprecated messsage
  • Fixes disabled buttons on new call issue
discordjs-pagination - 1.4.4

Published by acegoal07 almost 2 years ago

1.4.4

  • Completely removes setInterface
  • Adds a check to enableSelectMenu to stop it from running if both options are used to prevent errors
  • Fixes enableSelectMenu info
discordjs-pagination - 1.4.0

Published by acegoal07 almost 2 years ago

1.4.0

  • Changes how all the pagination information is passed to sub files
  • Changes disableButtons function to make it quicker and resolve some found issues
  • Changes setInterface to setPortal to add support for newer versions of nodejs
  • Removed unused code in progressBarCreator
  • Increased default timeout time

Version 1.4.1, 1.4.2 and 1.4.3 were updates to documentation

discordjs-pagination - 1.3.9

Published by acegoal07 about 2 years ago

1.3.9

  • Completely deprecates setMessage and setInteraction in favour for setInterface
  • Changes how enableSelectMenu settings are passed
  • Adds a setting to enableSelectMenu to make it so it uses the titles of the embed pages
discordjs-pagination - 1.3.8

Published by acegoal07 about 2 years ago

1.3.8

  • Finishes implementation of setInterface
  • Deprecates setMessage and setInteraction
  • Updates readme.md
  • Streamlines more code so it runs smoother
  • Fixes some check issues when using select menu instead of buttons
  • Defines promises where possible
  • Adds the ability to set custom selectMenu labels
  • Tweaks SelectMenuCreator to give it the ability to set custom labels
discordjs-pagination - 1.3.7

Published by acegoal07 about 2 years ago

1.3.7

  • Changes how the pagination detects between message and interactions
  • Combines some references into Objects
  • Removes duplicate checks
  • Makes autoDeleteButton function an option within autoButton function
  • Makes it so message and interaction are passed as the same reference to make checks easier
  • Uses discord.js function to detect the difference between message and interaction
  • Updates some util functions to support reference changes
  • Updates readme.md

Notes

This version has changed some major parts of the package if you experience any issues get in contact so they can be resolved

Package Rankings
Top 9.13% on Npmjs.org