[[commands]] id = "currency_rate" type = "lua" script = "rate.lua" sandbox = "full" timeout = 10000 [commands.phrases] ru = [ "курс доллара", "курс евро", "сколько стоит доллар", "сколько стоит евро", "курс юаня", "курс валют", "что с долларом", "что с евро", ] en = [ "dollar rate", "euro rate", "currency rate", "what is dollar", ] # Convert N units of one currency to another, e.g. # "1000 долларов в рубли" → "1000 USD = 99523 ₽" [[commands]] id = "currency_convert" type = "lua" script = "convert.lua" sandbox = "full" timeout = 10000 [commands.phrases] ru = [ "сколько будет", "переведи", "конвертируй", "долларов в рубли", "евро в рубли", "долларов в евро", "юаней в рубли", "рублей в доллары", "рублей в евро", ] en = [ "convert", "how much is", "dollars in rubles", "euros in rubles", ]