update alive.lua

new answer
new pattern
This commit is contained in:
Akamaru 2015-06-09 16:28:06 +02:00
parent e0d26820be
commit dc271edeba

View File

@ -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]