Firebot
Firebot copied to clipboard
[Bug] shorthand outputeffect causing error when used in Preset Effect Argument
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
when using shorthand effectOutputs in preset arguments it is casing an error of WARN Unable to parse variables for value: '$&formatedEmoteData'
Expected Behavior
to pass whats in the effectOutput to the argument,
Steps To Reproduce
No response
Version
5.61.2
What operating system are you using Firebot on?
Windows 10
Relevant log output
[2024-03-04 18:15:26.0674] - warn: Unable to parse variables for value: '$&formatedEmoteData'
{
message: "Cannot read properties of undefined (reading 'formatedEmoteData')",
stack: "TypeError: Cannot read properties of undefined (reading 'formatedEmoteData')\n" +
' at Object.evaluator (F:\\fork-firebot\\Firebot\\Firebot\\build\\backend\\variables\\replace-variable-manager.js:81:48)\n' +
' at LookupToken.evaluate (F:\\fork-firebot\\Firebot\\Firebot\\node_modules\\expressionish\\src\\tokens\\lookup.js:55:39)\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at async evaluate (F:\\fork-firebot\\Firebot\\Firebot\\node_modules\\expressionish\\src\\evaluate.js:53:21)\n' +
' at async findAndReplaceVariables (F:\\fork-firebot\\Firebot\\Firebot\\build\\backend\\common\\effect-runner.js:25:33)\n' +
' at async findAndReplaceVariables (F:\\fork-firebot\\Firebot\\Firebot\\build\\backend\\common\\effect-runner.js:40:13)\n' +
' at async runEffects (F:\\fork-firebot\\Firebot\\Firebot\\build\\backend\\common\\effect-runner.js:92:9)\n' +
' at async Promise.all (index 1)\n' +
' at async Object.onEventTriggered (F:\\fork-firebot\\Firebot\\Firebot\\build\\backend\\events\\events-router.js:100:9)'
}
Contact Details (Optional)
No response