summaryrefslogtreecommitdiff
path: root/lib/lsg_irc/kick_roulette_handler.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lsg_irc/kick_roulette_handler.ex')
-rw-r--r--lib/lsg_irc/kick_roulette_handler.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lsg_irc/kick_roulette_handler.ex b/lib/lsg_irc/kick_roulette_handler.ex
index 3591b5e..ece1b95 100644
--- a/lib/lsg_irc/kick_roulette_handler.ex
+++ b/lib/lsg_irc/kick_roulette_handler.ex
@@ -18,7 +18,7 @@ defmodule LSG.IRC.KickRouletteHandler do
def handle_info({:received, "!kick", sender, chan}, client) do
if 5 == :crypto.rand_uniform(1, 6) do
spawn(fn() ->
- :timer.sleep(:crypto.rand_uniform(500, 15_000))
+ :timer.sleep(:crypto.rand_uniform(200, 10_000))
ExIRC.Client.kick(client, chan, sender.nick, "perdu")
end)
end