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

16 lines
515 B
Lua

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]","magische Miesmuschel [Frage]","Magische miesmuschel [Frage]","magische miesmuschel [Frage]"},
patterns = {"^Magische Miesmuschel(.*)$","^magische Miesmuschel(.*)$","^Magische miesmuschel(.*)$","^magische miesmuschel(.*)$"},
run = run
}
end
--by Akamaru