From dc271edebaec72261f82334e83c18d4e7ebaf899 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Tue, 9 Jun 2015 16:28:06 +0200 Subject: [PATCH] update alive.lua new answer new pattern --- plugins/alive.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/alive.lua b/plugins/alive.lua index e945d5c..43dd334 100644 --- a/plugins/alive.lua +++ b/plugins/alive.lua @@ -1,14 +1,14 @@ function run(msg, matches) local user_name = get_name(msg) local answers = {'Ja?','Was gibts, ' .. user_name .. '?','Ja ' .. user_name .. ', was ist?', - 'Ich bin noch da.', user_name ,'Nein!'} + 'Ich bin noch da.', user_name ,'Nein!','So heiße ich'} return answers[math.random(#answers)] end return { description = "Ist der Bot noch da?", usage = {"Miku"}, - patterns = {"^[M|m]iku$"}, + patterns = {"^[M|m]iku(?)$","^[M|m]iku$"}, run = run } --by Akamaru [https://ponywave.de] \ No newline at end of file