diff --git a/otouto/plugins/about.lua b/otouto/plugins/about.lua index 650fe4f..20ca4e1 100644 --- a/otouto/plugins/about.lua +++ b/otouto/plugins/about.lua @@ -8,8 +8,8 @@ about.doc = '`Sendet Informationen über den Bot.`' function about:init(config) about.text = config.about_text..'\n[Brawlbot](https://github.com/Brawl345/Brawlbot-v2) v'..bot.version..', basierend auf [Otouto](http://github.com/topkecleon/otouto) von topkecleon.' about.triggers = { - '/about', - '/start' + '^/about$', + '^/start$' } end diff --git a/otouto/plugins/help.lua b/otouto/plugins/help.lua index 4d3aaf0..007a172 100644 --- a/otouto/plugins/help.lua +++ b/otouto/plugins/help.lua @@ -10,7 +10,8 @@ function help:init(config) "^/hilfe (.+)", "^/help (.+)", "^/(hilfe)_(.+)", - "^/hilfe$" + "^/hilfe$", + "^/help$" } help.inline_triggers = { "^hilfe (.+)", @@ -38,7 +39,7 @@ end function help:action(msg, config, matches) if matches[2] then input = matches[2] - elseif matches[1] ~= '/hilfe' then + elseif matches[1] ~= '/hilfe' and matches[1] ~= '/help' then input = matches[1] else input = nil