Skip to content

[Bug] Can't use effect outputs in Preset Effect List arguments #2444

@CKY-

Description

@CKY-

Is there an existing issue for this?

  • 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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions