From 5a6ba2a2d75693af5f1173a405069d104971ecb8 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Tue, 1 Dec 2015 20:53:56 +0100 Subject: [PATCH] special.lua: pe nis --- plugins/special.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 }