fix(events): complex manualMetadata being malformed on test event button #2784
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of the Change
complex manualMetadata eg:
being malformed on test event button
this would cause variable data to return the variable name.
Applicable Issues
#2783
Testing
made many events that leverage Enum and arbitrary data structs to see what the variable data would return in the console log
1000 Test message
Firebot,User1, User2, User3, User4, User5,
[{"id":"c0113c14-144e-475c-9647-a65f9177665d","index":1,"title":"Test Choice 1","points":62,"votes":125},{"id":"6d86797a-d88a-4fc2-b4f6-1895afdc503e","index":2,"title":"Test Choice 2","points":42,"votes":145},{"id":"791bc06c-c4d5-4c74-b950-8596c04dbb0d","index":3,"title":"Test Choice 3","points":72,"votes":85}]
Screenshots