diff options
| author | Zeyla Hellyer <[email protected]> | 2018-03-26 20:05:01 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-03-26 20:05:01 -0700 |
| commit | d14aa50b45dd0d8843dcd1f34183832d4a4981f9 (patch) | |
| tree | 6d49b84aa74ac1d6004ab5e07f945b11c956fa9c /src/client | |
| parent | Remove a couple of shard debugs (diff) | |
| download | serenity-d14aa50b45dd0d8843dcd1f34183832d4a4981f9.tar.xz serenity-d14aa50b45dd0d8843dcd1f34183832d4a4981f9.zip | |
Add 'send_files' http support
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs index 131ae37..6f5874a 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -70,11 +70,11 @@ impl Client { let h2 = options.handle.clone(); let strategy = options.sharding; - let client = Rc::new(HttpClient::new( + let client = Rc::new(ftry!(HttpClient::new( options.http_client, options.handle.clone(), Rc::clone(&token), - )); + ))); let done = client.get_bot_gateway().map(move |gateway| { let uri = Rc::new(gateway.url); |