aboutsummaryrefslogtreecommitdiff
path: root/lib/client.ml
diff options
context:
space:
mode:
authorAdelyn Breedlove <[email protected]>2019-06-07 21:24:23 -0600
committerAdelyn Breedlove <[email protected]>2019-06-07 21:24:23 -0600
commita42c8cabea8e0d5ea23c3a062b6ae308afd62d2f (patch)
treeceee7242b9742b89b170d431a1ad8b6eab0583df /lib/client.ml
parentAdd permission utilities (diff)
downloaddisml-origin/lwt.tar.xz
disml-origin/lwt.zip
Relocate token prefixingorigin/lwt
Diffstat (limited to 'lib/client.ml')
-rw-r--r--lib/client.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/client.ml b/lib/client.ml
index 50966e7..bf27039 100644
--- a/lib/client.ml
+++ b/lib/client.ml
@@ -6,7 +6,7 @@ type t =
}
let start ?count ?compress ?(large=250) token =
- Client_options.token := token;
+ Client_options.token := "Bot " ^ token;
Sharder.start ?count ?compress ~large_threshold:large ()
>|= fun sharder ->
{ sharder; }