update alive.lua
new answer new pattern
This commit is contained in:
parent
e0d26820be
commit
dc271edeba
@ -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]
|
Reference in New Issue
Block a user