Man Aka, warum pusht du immer so Mini-Updates, während ich arbeite? .-.
This commit is contained in:
commit
cb4c0faf30
@ -17,7 +17,7 @@ function cowsay:inline_callback(inline_query, config, matches)
|
||||
|
||||
local text = '```'..run_command('cowsay "'..input..'"')..'```'
|
||||
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)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user