basic Lua 5.4 implementation with few example commands
This commit is contained in:
parent
c9b9482cc8
commit
c4a774b5cf
35 changed files with 2554 additions and 460 deletions
|
|
@ -1,7 +1,9 @@
|
|||
[[commands]]
|
||||
id = "weather"
|
||||
action = "cli"
|
||||
cli_cmd = "weather.py"
|
||||
type = "lua"
|
||||
script = "script.lua"
|
||||
timeout = 5000
|
||||
sandbox = "standard"
|
||||
|
||||
[commands.phrases]
|
||||
ru = [
|
||||
|
|
@ -15,4 +17,18 @@ en = [
|
|||
|
||||
[commands.sounds]
|
||||
ru = ["weather_ru_1", "weather_ru_2"]
|
||||
en = ["weather_en_1", "weather_en_2"]
|
||||
en = ["weather_en_1", "weather_en_2"]
|
||||
|
||||
|
||||
|
||||
[[commands]]
|
||||
id = "set_city"
|
||||
type = "lua"
|
||||
script = "set_city.lua"
|
||||
sandbox = "standard"
|
||||
timeout = 5000
|
||||
phrases = [
|
||||
"установи город",
|
||||
"set city",
|
||||
"change city",
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue