K
Kord5mo ago
matytyma

Passing data through interactions

Is there a way to pass some data (e.g. message ID) through multiple interactions? I'd like to make a message command, which opens a modal and then uses data from the original message and the modal. I know that there is customContext property, but dunno if it's somehow related to that. Or should I just create an object holding my data and store it until used or a certain amount of time is reached?
3 Replies
gdude
gdude5mo ago
Just store it, yeah
matytyma
matytymaOP5mo ago
Is there something easier in Kordex or is it the same?
gdude
gdude5mo ago
this isn't a library question this is just general programming work
Want results from more Discord servers?
Add your server