aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/mod.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs
index 5a8bc51..4ffbf3f 100644
--- a/src/client/mod.rs
+++ b/src/client/mod.rs
@@ -221,24 +221,6 @@ impl<H: EventHandler + Send + Sync + 'static> Client<H> {
init_client(token, handler)
}
- /// Alias of [`new`].
- ///
- /// [`new`]: #method.new
- #[deprecated(since="0.1.5", note="Use `new` instead")]
- #[inline(always)]
- pub fn login_bot(token: &str, handler: H) -> Self {
- Self::new(token, handler)
- }
-
- /// Alias for [`new`].
- ///
- /// [`new`]: #method.new
- #[deprecated(since="0.2.1", note="Use `new` instead")]
- #[inline(always)]
- pub fn login(token: &str, handler: H) -> Self {
- Self::new(token, handler)
- }
-
/// Sets a framework to be used with the client. All message events will be
/// passed through the framework _after_ being passed to the [`on_message`]
/// event handler.