- Cats: Bugfix

- Besserer Text für V-T-T
This commit is contained in:
Andreas Bielawski 2016-08-28 00:08:08 +02:00
parent 4014ec0550
commit b172aa5b16
2 changed files with 2 additions and 2 deletions

View File

@ -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')

View File

@ -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