Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recipe: Config Placeholders #546

Open
5 tasks
negue opened this issue Nov 15, 2022 · 0 comments
Open
5 tasks

Recipe: Config Placeholders #546

negue opened this issue Nov 15, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@negue
Copy link
Owner

negue commented Nov 15, 2022

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)
@negue negue added the enhancement New feature or request label Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant