diff --git a/plugins/special.lua b/plugins/special.lua index 4677293..2bfda42 100644 --- a/plugins/special.lua +++ b/plugins/special.lua @@ -110,6 +110,9 @@ function run(msg, matches) elseif string.match(msg.text, "[Ii][Nn][Ll][Oo][Vv][Ee]") then send_document(get_receiver(msg), "pictures/inlove.gif", ok_cb, false) + elseif string.match(msg.text, "[Pp][Ee]") then + return 'nis' + end end @@ -145,7 +148,8 @@ return { "[Ii] [Ww][Ii][Ss][Hh] [Ss][Qq][Uu][Ii][Dd][Ss] [Ww][Ee][Rr][Ee] [Rr][Ee][Aa][Ll]", --"[Ff][Gg][Tt]", "^/[Kk][Ii][Ll][Ll] (.*)", - "^[Ii][Nn][Ll][Oo][Vv][Ee]$" + "^[Ii][Nn][Ll][Oo][Vv][Ee]$", + "^[Pp][Ee]$" }, run = run }