diff options
Diffstat (limited to 'lib/client.mli')
| -rw-r--r-- | lib/client.mli | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/client.mli b/lib/client.mli index 4f9fdab..6d7c931 100644 --- a/lib/client.mli +++ b/lib/client.mli @@ -10,19 +10,19 @@ type t = (** Start the Client. This begins shard connections to Discord and event handlers should be registered prior to calling this.
{3 Example}
{[
- open Async
- open Disml
+open Async
+open Disml
- let main () =
- let token = "a valid bot token" in
- Client.start ~count:5 token >>> print_endline "Client launched"
+let main () =
+ let token = "a valid bot token" in
+ Client.start ~count:5 token >>> print_endline "Client launched"
- let _ =
- Scheduler.go_main ~main ()
+let _ =
+ Scheduler.go_main ~main ()
]}
@param ?count Optional amount of shards to launch. Defaults to autosharding.
- @param ?compress Whether to use compression over the gateway. }
- @param ?large Large threshold for guilds. Default is 250.
+ @param ?compress Whether to use compression over the gateway.
+ @param ?large Large threshold for guilds. Default is 100.
@param string The token used for authentication.
@return A deferred client object.
*)
@@ -55,4 +55,4 @@ val request_guild_members : val shutdown_all :
?restart:bool ->
t ->
- unit list Deferred.t
\ No newline at end of file + unit list Deferred.t
|