Skip to content

Recipe: Config Placeholders #546

@negue

Description

@negue

It would be nice to use placeholders for each command block config. Each Placeholder would be the triggerAction " Property Path" which would then replaced with the current data.

{{ triggerAction.byTwitch.payload.message || 'fallback' }}

Dependencies:

  • Recipe Command Block Settings needs to be replaced by a Dictionary that holds for each payloads per Command Block (probably needs to be done in its own PR)
  • That also means the generated Code needs use this dictionary instead (during script run time, not creating time)
  • The placeholders then need to be replaced by the actual data

Definition of Done:

  • The Placeholder Replacement works
  • Each command block setting needs to have a button where you can choose of a list of possible placeholders OR even fixed selection (i.e. skipping the template placeholder syntax)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions