aboutsummaryrefslogtreecommitdiff
path: root/bin/bot.ml
diff options
context:
space:
mode:
authorAdelyn Breedlove <[email protected]>2019-01-17 00:01:54 -0700
committerAdelyn Breedlove <[email protected]>2019-01-17 00:01:54 -0700
commit2d023e5cf9d880349686c137e530581765e65891 (patch)
tree041cb510c57e65fa6732c89e75e346ab17a30f56 /bin/bot.ml
parenteliminate all functors in favour of a simpler approach (diff)
downloaddisml-2d023e5cf9d880349686c137e530581765e65891.tar.xz
disml-2d023e5cf9d880349686c137e530581765e65891.zip
more mlis
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 ())