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/magische_miesmuschel.lua

21 lines
430 B
Lua
Raw Normal View History

2015-04-14 20:21:23 +02:00
do
function run(msg, matches)
local answers = {'Ja','Nein','Eines Tages vielleicht'}
return answers[math.random(#answers)]
end
return {
description = "Beantwortet euch eine Frage (100% Wahrheit!)",
usage = "Magische Miesmuschel [Frage]",
patterns = {
"^Magische Miesmuschel(.*)$",
"^magische Miesmuschel(.*)$",
"^Magische miesmuschel(.*)$",
"^magische miesmuschel(.*)$"
},
run = run
}
2015-04-20 18:52:25 +02:00
end
--by Akamaru