J.A.R.V.I.S-rust/resources/commands/weather/command.toml

30 lines
676 B
TOML
Raw Permalink Normal View History

[[commands]]
id = "weather"
type = "lua"
script = "script.lua"
timeout = 5000
sandbox = "standard"
[commands.phrases]
ru = ["какая погода в {city}", "погода {city}"]
en = ["what's the weather in {city}", "weather in {city}"]
[commands.sounds]
ru = ["weather_ru_1", "weather_ru_2"]
en = ["weather_en_1", "weather_en_2"]
[commands.slots.city]
entity = "city name"
context = ["in", "for", "at", "в", "для"]
[[commands]]
id = "set_city"
type = "lua"
script = "set_city.lua"
sandbox = "standard"
timeout = 5000
[commands.phrases]
ru = ["установи город", "смени город", "поменяй город"]
en = ["set city", "change city"]