aboutsummaryrefslogtreecommitdiff
path: root/lib/client.mli
diff options
context:
space:
mode:
authorAdelyn Breelove <[email protected]>2019-01-29 10:01:35 -0700
committerAdelyn Breelove <[email protected]>2019-01-29 10:01:35 -0700
commit16cba5acd05093c66ab1432b40d40605c1098407 (patch)
tree28adffb77476315809fe133993c243c036447dc4 /lib/client.mli
parentRemove outdated docs (diff)
downloaddisml-16cba5acd05093c66ab1432b40d40605c1098407.tar.xz
disml-16cba5acd05093c66ab1432b40d40605c1098407.zip
Add client options
Diffstat (limited to 'lib/client.mli')
-rw-r--r--lib/client.mli10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/client.mli b/lib/client.mli
index a05810b..7ece537 100644
--- a/lib/client.mli
+++ b/lib/client.mli
@@ -21,11 +21,13 @@ type t = {
let _ =
Scheduler.go_main ~main ()
]}
- @param ?count Optional amount of shards to launch. Defaults to autosharding
- @param string The token used for authentication
- @return A deferred client object
+ @param ?count Optional amount of shards to launch. Defaults to autosharding.
+ @param ?compress Whether to use compression over the gateway. {b NOT CURRENTLY SUPPORTED. DO NOT SET TO TRUE. }
+ @param ?large Large threshold for guilds. Default is 250.
+ @param string The token used for authentication.
+ @return A deferred client object.
*)
-val start : ?count:int -> string -> t Deferred.t
+val start : ?count:int -> ?compress:bool -> ?large:int -> string -> t Deferred.t
(** Same as {!Sharder.set_status} where [client.sharder] is passed. *)
val set_status : status:Yojson.Safe.json -> t -> Sharder.Shard.shard list Deferred.t