Sharing information across a chain of interactions

Hello! I'm currently working on the creation of embed pagination. As such, I have a class that represents the state of one of these embeds (e.g. what page its on, the buttonsRow below it, etc.). However, I'm struggling to figure out how to pass the instance of this class object from the slash command where its created to the onInteraction that picks up the button inputs in order to actually get information about what to do with the embed - does anyone have any suggestions/solutions?
0 Replies
No replies yetBe the first to reply to this messageJoin