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/wuerfel.lua
2015-04-14 20:21:23 +02:00

13 lines
257 B
Lua

do
function run(msg, matches)
local answers = {'1','2','3','4','5','6'}
return answers[math.random(#answers)]
end
return {
description = "Würfel eine Zahl zwischen 1 bis 6",
usage = "/würfel",
patterns = {"^/würfel"},
run = run
}
end