From ebc4e51fe3b1e5bc61dc99da25a22d2e2277ffc6 Mon Sep 17 00:00:00 2001 From: acdenisSK Date: Tue, 11 Jul 2017 22:13:57 +0200 Subject: Remove the deprecated functions It's already been enough time for people to migrate --- src/client/mod.rs | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/client') 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 Client { 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. -- cgit v1.2.3