aboutsummaryrefslogtreecommitdiff
path: root/src/framework/mod.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-09-21 17:00:41 -0700
committerZeyla Hellyer <[email protected]>2017-09-21 17:00:41 -0700
commite6a503409e374277683f76142eace62264ca533d (patch)
treefff8e976ead3be463d0e3817a3a4bbc3b7b439d3 /src/framework/mod.rs
parentFix a documentation typo (diff)
downloadserenity-e6a503409e374277683f76142eace62264ca533d.tar.xz
serenity-e6a503409e374277683f76142eace62264ca533d.zip
Remove tokio usage
Diffstat (limited to 'src/framework/mod.rs')
-rw-r--r--src/framework/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/framework/mod.rs b/src/framework/mod.rs
index 678b5dc..0641ab6 100644
--- a/src/framework/mod.rs
+++ b/src/framework/mod.rs
@@ -62,7 +62,6 @@ pub use self::standard::StandardFramework;
use client::Context;
use model::Message;
-use tokio_core::reactor::Handle;
#[cfg(feature = "standard_framework")]
use model::UserId;
@@ -75,7 +74,7 @@ use model::UserId;
/// Note that you may see some other methods in here as well, but they're meant to be internal only
/// for the builtin framework.
pub trait Framework {
- fn dispatch(&mut self, Context, Message, &Handle);
+ fn dispatch(&mut self, Context, Message);
#[cfg(feature = "standard_framework")]
fn update_current_user(&mut self, UserId, bool) {}