diff --git a/otouto/plugins/calc.lua b/otouto/plugins/calc.lua index f43adf7..169acce 100644 --- a/otouto/plugins/calc.lua +++ b/otouto/plugins/calc.lua @@ -15,7 +15,7 @@ function calc:init(config) end function calc:mathjs(exp) - local exp = string.gsub(exp, ",", "%.") + local exp = string.gsub(exp, ",", ".") local url = 'http://api.mathjs.org/v1/' url = url..'?expr='..URL.escape(exp) local b,c = http.request(url) diff --git a/otouto/plugins/echo.lua b/otouto/plugins/echo.lua index b59133d..7018ac8 100644 --- a/otouto/plugins/echo.lua +++ b/otouto/plugins/echo.lua @@ -7,7 +7,8 @@ echo.command = 'echo ' function echo:init(config) echo.triggers = utilities.triggers(self.info.username, config.cmd_pat):t('echo', true).table echo.inline_triggers = { - "^e (.*)" + "^e (.+)", + "^bold (.+)" } echo.doc = [[* ]]..config.cmd_pat..[[echo* __: Gibt den Text aus]]