diff --git a/otouto/plugins/bitly_create.lua b/otouto/plugins/bitly_create.lua index 1b34ff1..f7eb4ec 100644 --- a/otouto/plugins/bitly_create.lua +++ b/otouto/plugins/bitly_create.lua @@ -127,7 +127,7 @@ function bitly_create:action(msg, config, matches) print('Not signed in, will use global bitly access_token') bitly_access_token = cred_data.bitly_access_token end - + if matches[2] == nil then long_url = url_encode(matches[1]) domain = 'bit.ly' diff --git a/otouto/plugins/currency.lua b/otouto/plugins/currency.lua index ab0c245..82be81f 100644 --- a/otouto/plugins/currency.lua +++ b/otouto/plugins/currency.lua @@ -3,7 +3,7 @@ local currency = {} local HTTPS = require('ssl.https') local utilities = require('otouto.utilities') -currency.command = 'cash [Menge] in ' +currency.command = 'cash [Menge] ' function currency:init(config) currency.triggers = { diff --git a/otouto/plugins/gMaps.lua b/otouto/plugins/gMaps.lua index ccce85b..1bc4207 100644 --- a/otouto/plugins/gMaps.lua +++ b/otouto/plugins/gMaps.lua @@ -6,7 +6,7 @@ local utilities = require('otouto.utilities') gMaps.command = 'loc ' function gMaps:init(config) - gMaps.triggers = utilities.triggers(self.info.username, config.cmd_pat):t('location', true):t('loc', true).table + gMaps.triggers = utilities.triggers(self.info.username, config.cmd_pat):t('loc', true).table gMaps.doc = [[* ]]..config.cmd_pat..[[loc* __: Sendet Ort via Google Maps]] end diff --git a/otouto/plugins/plugins.lua b/otouto/plugins/plugins.lua index d6a9baf..7fe9647 100644 --- a/otouto/plugins/plugins.lua +++ b/otouto/plugins/plugins.lua @@ -163,7 +163,7 @@ function plugin_manager:reenable_plugin_on_chat(msg, plugin) end end -function plugin_manager:action(msg, config) +function plugin_manager:action(msg, config, matches) if msg.from.id ~= config.admin then utilities.send_reply(self, msg, config.errors.sudo) return diff --git a/otouto/plugins/rss.lua b/otouto/plugins/rss.lua index 94112b7..535b617 100644 --- a/otouto/plugins/rss.lua +++ b/otouto/plugins/rss.lua @@ -285,7 +285,7 @@ function rss:cron(self_plz) else content = '' end - text = text..'\n*'..title..'*\n'..content..' [Weiterlesen]('..link..')\n' + text = text..'\n#RSS: *'..title..'*\n'..utilities.md_escape(content)..' [Weiterlesen]('..link..')\n' end if text ~= '' then local newlast = newentr[1].id