ygimenez / Pagination-Utils

A collection of methods to make message pagination with JDA easier.
GNU Lesser General Public License v2.1
27 stars 7 forks source link

It doesn't work in the private channel #21

Closed avurro closed 3 years ago

avurro commented 3 years ago

paginate/categorize doesn't work in private channels. image

there is something i forget?

ygimenez commented 3 years ago

Is removeOnReact disabled? Also, did you get any error in the console?

avurro commented 3 years ago

In my case i work with guilds and with private messages. and I prefer to keep: .shouldRemoveOnReact(true)

Is there a possibility to differentiate between private messages and public messages?

ygimenez commented 3 years ago

it already does, but did you get any error at all?

avurro commented 3 years ago

I mean at the same time. I would like to keep TRUE for commands written in Guilds and FALSE for commands written privately to the bot.

ygimenez commented 3 years ago

I know, I asked if it was disabled because it affects the logic behind it, but still, is there any error I can use for reference?

avurro commented 3 years ago

I don't get any errors

avurro commented 3 years ago

In private channel the pagination doesn't work with any value I put (true/false) in shouldRemoveOnReact.

Am I wrong in something?

ygimenez commented 3 years ago

I'm currently solving some issues on my own bot, I'll see if I can find some issue on the library code later on.

ygimenez commented 3 years ago

Issue fixed in release 2.1.6