This repository has been archived on 2021-04-24. You can view files and clone it, but cannot push or open issues or pull requests.
2016-07-07 21:34:32 +02:00
|
|
|
do
|
|
|
|
|
2015-06-06 22:16:11 +02:00
|
|
|
function run(msg, matches)
|
|
|
|
local user_name = get_name(msg)
|
|
|
|
local answers = {'Ja?','Was gibts, ' .. user_name .. '?','Ja ' .. user_name .. ', was ist?',
|
2016-07-07 21:34:32 +02:00
|
|
|
'Ich bin noch da.', user_name ,'Nein!','So heiße ich', 'Nerv mich nicht!'}
|
|
|
|
|
2015-06-06 22:16:11 +02:00
|
|
|
return answers[math.random(#answers)]
|
|
|
|
end
|
|
|
|
|
|
|
|
return {
|
|
|
|
description = "Ist der Bot noch da?",
|
2016-07-07 21:34:32 +02:00
|
|
|
usage = {"Miku", "ミク"},
|
|
|
|
patterns = {"^[Mm][Ii][Kk][Uu]%??$",
|
|
|
|
"^ミク%??$"
|
2015-11-12 17:42:03 +01:00
|
|
|
},
|
2015-06-06 22:16:11 +02:00
|
|
|
run = run
|
|
|
|
}
|
2016-07-07 21:34:32 +02:00
|
|
|
|
|
|
|
--by Akamaru [https://ponywave.de]
|
|
|
|
|
|
|
|
end
|