-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels