diff --git a/otouto/plugins/cats.lua b/otouto/plugins/cats.lua index 5ef7552..a95dd3a 100644 --- a/otouto/plugins/cats.lua +++ b/otouto/plugins/cats.lua @@ -59,7 +59,7 @@ function cats:inline_callback(inline_query, config, matches) utilities.answer_inline_query(inline_query, results, 30) end -function cats:action(msg, config) +function cats:action(msg, config, matches) if matches[1] == 'gif' then local url = 'http://thecatapi.com/api/images/get?type=gif&apikey='..apikey local file = download_to_file(url, 'miau.gif') diff --git a/otouto/plugins/voice_to_text.lua b/otouto/plugins/voice_to_text.lua index 2f37406..f08bd69 100644 --- a/otouto/plugins/voice_to_text.lua +++ b/otouto/plugins/voice_to_text.lua @@ -46,7 +46,7 @@ function vtt:pre_process(msg, config) end if not data._text then - utilities.send_reply(msg, 'Keine Stimme zu hören!') + utilities.send_reply(msg, 'Keine Stimme zu hören oder Erkennung fehlgeschlagen.') return end