Man Aka, warum pusht du immer so Mini-Updates, während ich arbeite? .-.

This commit is contained in:
Andreas Bielawski 2016-08-25 00:30:50 +02:00
commit cb4c0faf30

View File

@ -17,7 +17,7 @@ function cowsay:inline_callback(inline_query, config, matches)
local text = '```'..run_command('cowsay "'..input..'"')..'```' local text = '```'..run_command('cowsay "'..input..'"')..'```'
local text = text:gsub('\\', '\\\\') local text = text:gsub('\\', '\\\\')
local results = '[{"type":"article","id":"7912","title":"Muh!","input_message_content":{"message_text":"'..text..'","parse_mode":"Markdown"}}]' local results = '[{"type":"article","id":"7912","title":"Muh!","description":"'..input..'","thumb_url":"http://img.ponywave.de/di/DQG2/cow.jpg","input_message_content":{"message_text":"'..text..'","parse_mode":"Markdown"}}]'
utilities.answer_inline_query(inline_query, results, 2) utilities.answer_inline_query(inline_query, results, 2)
end end