Skip to content

[Idea] Sound per Trigger word #14

@coding-red-panda

Description

@coding-red-panda

Idea

To be able to specify a trigger word and select the desired sound.
Technically speaking, not much different from what we have right, but requires a different setup for the entire Settings Page UI element.

Store the configuration in Lua

Yipper.DB.Triggers = {
  ["trigger word 1"] = { ["id"] = <SoundId>, ["name"] = "Select Sound 1" },
  ["trigger word 2"] = { ["id"] = <SoundId>, ["name"] = "Select Sound 2" }
}

The above structure could be dynamically traversed to go over the words and use the data to perform the notification.
The Settings UI on reload can do the same, and build a dynamic mapping of a button to select the sound, and a field to apply it.
Would need buttons to delete an entry as well, and a button to create a new entry and save it automatically when entering the value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions