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.
Mikubot/plugins/alive.lua
Akamaru dc271edeba update alive.lua
new answer
new pattern
2015-06-09 16:28:06 +02:00

14 lines
435 B
Lua

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!','So heiße ich'}
return answers[math.random(#answers)]
end
return {
description = "Ist der Bot noch da?",
usage = {"Miku"},
patterns = {"^[M|m]iku(?)$","^[M|m]iku$"},
run = run
}
--by Akamaru [https://ponywave.de]