aboutsummaryrefslogtreecommitdiff
path: root/lib/client.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/client.mli')
-rw-r--r--lib/client.mli17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/client.mli b/lib/client.mli
new file mode 100644
index 0000000..6f6a18d
--- /dev/null
+++ b/lib/client.mli
@@ -0,0 +1,17 @@
+open Async
+
+include module type of Client_options
+include module type of Dispatch
+
+type t = {
+ sharder: Sharder.t;
+ token: string;
+}
+
+val start : ?count:int -> string -> t Deferred.t
+
+val set_status : status:Yojson.Safe.json -> t -> Sharder.Shard.shard list Deferred.t
+
+val set_status_with : f:(Sharder.Shard.shard -> Yojson.Safe.json) -> t -> Sharder.Shard.shard list Deferred.t
+
+val request_guild_members : guild:Snowflake.t -> ?query:string -> ?limit:int -> t -> Sharder.Shard.shard list Deferred.t \ No newline at end of file