From 41b67c60bf3a6d87d6d80595bdaa00a8d9d0590a Mon Sep 17 00:00:00 2001 From: Austin Hellyer Date: Sun, 15 Jan 2017 17:01:46 -0800 Subject: First round of deleting useless methods --- src/model/id.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/model/id.rs') diff --git a/src/model/id.rs b/src/model/id.rs index 9c2bb7a..17fd29c 100644 --- a/src/model/id.rs +++ b/src/model/id.rs @@ -88,14 +88,6 @@ impl GuildId { rest::get_guild(self.0) } - /// Returns this Id as a `ChannelId`, which is useful when needing to use - /// the guild Id to send a message to the default channel. - #[cfg(feature="methods")] - #[inline(always)] - pub fn to_channel(&self) -> ChannelId { - ChannelId(self.0) - } - /// Retrieves the guild's webhooks. /// /// **Note**: Requires the [Manage Webhooks] permission. -- cgit v1.2.3