diff --git a/.gitignore b/.gitignore index 8e71a5d..9afa495 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ config.lua loc/weeb.lua console.lua *.json +plugins/owm.lua diff --git a/plugins/moderation.lua b/plugins/moderation.lua index 1d5c6ad..cd5a660 100644 --- a/plugins/moderation.lua +++ b/plugins/moderation.lua @@ -186,7 +186,7 @@ end local demote = {} -demote.trigger = '^/[mod]*dem[ote]*$' +demote.trigger = '^/[mod]*dem[ote]*' demote.action = function(msg) @@ -289,7 +289,7 @@ local triggers = { '^/[mod]*add$', '^/[mod]*rem[ove]*$', '^/[mod]*prom[ote]*$', - '^/[mod]*dem[ote]*$', + '^/[mod]*dem[ote]*', '^/modkick', '^/modban' }