From 1e030da5dc9e32c35d8ffc2f91095ad987616156 Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Tue, 4 Oct 2016 16:00:25 +0200 Subject: [PATCH] Steam: Fix --- otouto/plugins/steam.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/otouto/plugins/steam.lua b/otouto/plugins/steam.lua index 2faf581..44973c8 100644 --- a/otouto/plugins/steam.lua +++ b/otouto/plugins/steam.lua @@ -40,7 +40,7 @@ function steam:send_steam_data(data, msg) local title = data.name local price = steam:price_info(data.price_overview) - local text = '*'..title..'* _'..price..'_\n'..description + local text = ''..title..' '..price..'\n'..description local image_url = data.header_image return text, image_url end @@ -52,7 +52,8 @@ function steam:action(msg, config, matches) local text, image_url = steam:send_steam_data(data, msg) utilities.send_typing(msg.chat.id, 'upload_photo') utilities.send_photo(msg.chat.id, image_url, nil, msg.message_id) - utilities.send_reply(msg, text, true) + print(text) + utilities.send_reply(msg, text, 'HTML') end return steam \ No newline at end of file