- Cats: Bugfix
- Besserer Text für V-T-T
This commit is contained in:
parent
4014ec0550
commit
b172aa5b16
@ -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')
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user