PaginatedMessage: refresh pages after setPages()
How can I update or refresh PaginatedMessage after use setPages()?
Currently, I have to click next/prev button to refresh all pages.
Solution:Jump to solution
Sounds like you're trying to modify the pages after calling run. That is not what PaginatedMessage was designed for. Run should always be the last thing called.
3 Replies
Solution
Sounds like you're trying to modify the pages after calling run. That is not what PaginatedMessage was designed for. Run should always be the last thing called.
Yes, I modfied pages after calling run, Hmm maybe I will try something to work around this
you could request it for the future in #paginated-messages-v2 but truth be told I have no idea if that is really feasible.