aboutsummaryrefslogtreecommitdiff
path: root/src/client/mod.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-01-01 10:08:57 -0800
committerZeyla Hellyer <[email protected]>2018-01-01 10:08:57 -0800
commit7e46d8f3ac5a968df9a05f8f0006522ad14891ef (patch)
tree121546831c15f6a7ac5aaca6659cf1ca70602af6 /src/client/mod.rs
parentAdd a Shard Manager example in examples directory (diff)
downloadserenity-7e46d8f3ac5a968df9a05f8f0006522ad14891ef.tar.xz
serenity-7e46d8f3ac5a968df9a05f8f0006522ad14891ef.zip
Add an event for shard updates
Add an event in the EventHandler to be called when a shard updates its Connection Stage.
Diffstat (limited to 'src/client/mod.rs')
-rw-r--r--src/client/mod.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs
index 58d411e..bf0a307 100644
--- a/src/client/mod.rs
+++ b/src/client/mod.rs
@@ -41,7 +41,6 @@ use http;
use internal::prelude::*;
use parking_lot::Mutex;
use self::bridge::gateway::{ShardManager, ShardManagerMonitor};
-use self::dispatch::dispatch;
use std::sync::Arc;
use threadpool::ThreadPool;
use typemap::ShareMap;