Best way to make ButtonInteractions persistent after restarts?

I'm just wondering if there are any built in ways, or ways you might make button interactions persistent over restarts. I'm trying to make a page up/down button, but having a separate listener/collector means that 1. I have to figure out the current page of the message afterwards. 2. Have to fetch all the data again Does the framework provide anything to help with this?
Solution:
but youll have to do something with permanent storage i.e. through a database
Jump to solution
3 Replies
Favna
Favna2y ago
it doesnt
Solution
Favna
Favna2y ago
but youll have to do something with permanent storage i.e. through a database
JcbSm
JcbSm2y ago
Fair play