discord.js-pagination icon indicating copy to clipboard operation
discord.js-pagination copied to clipboard

Unmaintained: Need v13 interaction (reaction, button and select menu) support? Look here!

Open psibean opened this issue 3 years ago • 2 comments

This repo hasn't seen any changes for a while and no input from the owner / maintainer.

I've just taken my version of this to ^3.0.0.

The README includes sufficient "documentation" and the example on the repo includes working examples and gifs!

Find it here!

Install with npm install @psibean/discord.js-paginator

const require { ButtonPaginator, ReactionPaginator, SelectPaginator } = require('@psibean/discord.js');

See the readme and the example app for more details.

advanced-pagination-gif

psibean avatar Aug 17 '21 12:08 psibean

no normal message support?

lambits avatar Aug 18 '21 08:08 lambits

no normal message support?

Message commands are being made completely obsolete moving forward, so unfortunately not.

Regular messages are going to require an explicit intent in order to listen to them in the near future from what I've heard.

This helps discord cut service costs as they won't be pinging every bot with all messages they can read, primarily only need to listen for slash commands and those commands are explicitly scoped to a single bot - so won't be sent to ALL bots.

The intention of my refactor will be to stay up to date with discord.is

Edit: ~~in saying that, you should be able to customise the messageSender and other parts to configure it to have message support. I'll see if I can add a working example~~ Scratch that - the built-in deferUpdate on _collectStart ruins it. This could have a flag option to turn it on / off rather than offload it to the user to handle as an event all the time, defaulted to true as the primary means.

Moving forward there's going to be quite some change over the next week and I need to balance how much obsolete / backwards compatibility is supported. I may just add message support as an option since it will still be relevant for quite some time as people slowly need to transition.

psibean avatar Aug 18 '21 10:08 psibean