diff --git a/otouto/plugins/play_store.lua b/otouto/plugins/play_store.lua index b198090..7a30feb 100644 --- a/otouto/plugins/play_store.lua +++ b/otouto/plugins/play_store.lua @@ -51,7 +51,7 @@ end function play_store:action(msg, config, matches) local appid = matches[1] local data = play_store:get_playstore_data(appid) - if data.title == nil then + if data == nil then return else utilities.send_reply(self, msg, play_store:send_playstore_data(data), true) diff --git a/otouto/plugins/reddit.lua b/otouto/plugins/reddit.lua index ca9066e..ee5466f 100644 --- a/otouto/plugins/reddit.lua +++ b/otouto/plugins/reddit.lua @@ -23,7 +23,7 @@ local format_results = function(posts) title = utilities.trim(title) .. '...' end local short_url = 'https://redd.it/' .. post.id - local s = '[' .. title .. '](' .. short_url .. ')' + local s = '[' .. unescape(title) .. '](' .. short_url .. ')' if post.domain and not post.is_self and not post.over_18 then s = '`[`[' .. post.domain .. '](' .. post.url:gsub('%)', '\\)') .. ')`]` ' .. s end diff --git a/otouto/plugins/vine.lua b/otouto/plugins/vine.lua index 02ec26a..15e087b 100644 --- a/otouto/plugins/vine.lua +++ b/otouto/plugins/vine.lua @@ -25,7 +25,7 @@ function vine:send_vine_data(data) local loops = data.loops.count local video_url = data.videoUrls[1].videoUrl local profile_name = string.gsub(data.user.profileUrl, '/', '') - local text = '"'..title..'", hochgeladen von '..author_name..' ('..profile_name..') im '..creation_date..', '..loops..'x angesehen' + local text = '"'..title..'", hochgeladen von '..author_name..' ('..profile_name..'), '..creation_date..', '..loops..'x angesehen' if data.explicitContent == 1 then text = text..' (🔞 NSFW 🔞)' end