diff options
| author | Adelyn Breedlove <[email protected]> | 2019-03-01 23:15:23 -0700 |
|---|---|---|
| committer | Adelyn Breedlove <[email protected]> | 2019-03-01 23:15:23 -0700 |
| commit | ef28f111cfec95a62b21a9267f9d24b1edc645dd (patch) | |
| tree | c5a93c0072823aaeac425f6263c076333b55d225 /lib/client.mli | |
| parent | Remove use of Tyre in favour of Str lib (diff) | |
| download | disml-ef28f111cfec95a62b21a9267f9d24b1edc645dd.tar.xz disml-ef28f111cfec95a62b21a9267f9d24b1edc645dd.zip | |
Style improvements who dis
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
|