aboutsummaryrefslogtreecommitdiff
path: root/bin/bot.ml
diff options
context:
space:
mode:
authorMishio595 <[email protected]>2018-11-29 06:16:23 -0700
committerMishio595 <[email protected]>2018-11-29 06:16:23 -0700
commit77f522a5f3fd74749e7a2cd4c849e520f2b6ba89 (patch)
treed9bb7e7be811ba84c4c527fcd11054ab475ee54b /bin/bot.ml
parentMore models, some dispatch rework starting (diff)
downloaddisml-77f522a5f3fd74749e7a2cd4c849e520f2b6ba89.tar.xz
disml-77f522a5f3fd74749e7a2cd4c849e520f2b6ba89.zip
Some sharding work, reconnect is mostly working
Diffstat (limited to 'bin/bot.ml')
-rw-r--r--bin/bot.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/bot.ml b/bin/bot.ml
index 636f768..329c22d 100644
--- a/bin/bot.ml
+++ b/bin/bot.ml
@@ -50,8 +50,9 @@ let main () =
Clock.every
(Time.Span.create ~sec:60 ())
(fun () ->
+ print_endline "Setting status";
Client.set_status_with ~f:(fun shard -> `String ("Current seq: " ^ (Int.to_string shard.seq))) client
- |> ignore)
+ >>> ignore)
let _ =
Scheduler.go_main ~main ()