aboutsummaryrefslogtreecommitdiff
path: root/bin/bot.ml
diff options
context:
space:
mode:
authorMishio595 <[email protected]>2018-11-29 18:10:45 -0700
committerMishio595 <[email protected]>2018-11-29 18:10:45 -0700
commiteaccd45894e5b519bca82662d0b950b5f1d9c598 (patch)
tree0d08c556ca3a0399c0be1169d5f0da57b618812b /bin/bot.ml
parentTry to make it a more properly structured lib (diff)
downloaddisml-eaccd45894e5b519bca82662d0b950b5f1d9c598.tar.xz
disml-eaccd45894e5b519bca82662d0b950b5f1d9c598.zip
Fix all the errors from coding without merlin
Diffstat (limited to 'bin/bot.ml')
-rw-r--r--bin/bot.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bot.ml b/bin/bot.ml
index 92825fc..c0a131d 100644
--- a/bin/bot.ml
+++ b/bin/bot.ml
@@ -52,7 +52,7 @@ let main () =
(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
+ Client.set_status ~status:(`String "Hello!") client
>>> ignore)
let _ =