aboutsummaryrefslogtreecommitdiff
path: root/bin/bot.ml
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bot.ml')
-rw-r--r--bin/bot.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/bot.ml b/bin/bot.ml
index a1bbf00..25ccc1e 100644
--- a/bin/bot.ml
+++ b/bin/bot.ml
@@ -7,8 +7,7 @@ let main () =
| Some t -> t
| None -> failwith "No token in env"
in
- Client.create token;
- Client.start ()
+ Client.start token
>>> fun client ->
Clock.every
(Time.Span.create ~sec:60 ())