-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Description
Hello,
I'm actualy writing a widget i want to be customisable from Twitch chat with commands. Everything works fine (command catches, persmissions,...)
But i'm facing a problem.
I didn't find a way to modify widget fields data from JS (DATA tab from JS tab in editor)
Exemple of what i'm trying to do:
- In Twitch chat a command: !!goal max 1500
- Catch the command
- Set the field value stored in DATA to this value
I know JS doesn't support passing parameters by ref, so modify "obj" received will change nothing, am i right ? Each time i'll reload widget, previous data stored in DATA will be back.
Is there a way to bypass my problem ?
Thx !
Metadata
Metadata
Assignees
Labels
No labels