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

15 lines
295 B
Lua
Raw Normal View History

2015-04-14 20:21:23 +02:00
do
function run(msg, matches)
local answers = {'1','2','3','4','5','6'}
return answers[math.random(#answers)]
end
2015-04-20 18:52:25 +02:00
2015-04-14 20:21:23 +02:00
return {
description = "Würfel eine Zahl zwischen 1 bis 6",
2015-04-28 17:49:11 +02:00
usage = {"/würfel"},
2015-04-14 20:21:23 +02:00
patterns = {"^/würfel"},
run = run
}
2015-04-20 18:52:25 +02:00
end
2015-05-22 17:01:33 +02:00
--by Akamaru [https://ponywave.de]