aboutsummaryrefslogtreecommitdiff
path: root/src/framework/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/framework/mod.rs')
-rw-r--r--src/framework/mod.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/framework/mod.rs b/src/framework/mod.rs
index 9f72dc6..47141c1 100644
--- a/src/framework/mod.rs
+++ b/src/framework/mod.rs
@@ -73,7 +73,7 @@ pub trait Framework {
#[doc(hidden)]
#[cfg(feature = "standard_framework")]
- fn update_current_user(&mut self, UserId, bool) {}
+ fn update_current_user(&mut self, UserId) {}
}
impl<F: Framework + ?Sized> Framework for Box<F> {
@@ -82,8 +82,8 @@ impl<F: Framework + ?Sized> Framework for Box<F> {
}
#[cfg(feature = "standard_framework")]
- fn update_current_user(&mut self, id: UserId, is_bot: bool) {
- (**self).update_current_user(id, is_bot);
+ fn update_current_user(&mut self, id: UserId) {
+ (**self).update_current_user(id);
}
}
@@ -93,8 +93,8 @@ impl<'a, F: Framework + ?Sized> Framework for &'a mut F {
}
#[cfg(feature = "standard_framework")]
- fn update_current_user(&mut self, id: UserId, is_bot: bool) {
- (**self).update_current_user(id, is_bot);
+ fn update_current_user(&mut self, id: UserId) {
+ (**self).update_current_user(id);
}
}