diff options
| author | Austin Hellyer <[email protected]> | 2017-01-15 17:01:46 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2017-01-15 17:01:46 -0800 |
| commit | 41b67c60bf3a6d87d6d80595bdaa00a8d9d0590a (patch) | |
| tree | 9e3f8c80c367159d39bebfe40f75ee96c4597693 /src/model/id.rs | |
| parent | Don't reconnect on WS error within some time (diff) | |
| download | serenity-41b67c60bf3a6d87d6d80595bdaa00a8d9d0590a.tar.xz serenity-41b67c60bf3a6d87d6d80595bdaa00a8d9d0590a.zip | |
First round of deleting useless methods
Diffstat (limited to 'src/model/id.rs')
| -rw-r--r-- | src/model/id.rs | 8 |
1 files changed, 0 insertions, 8 deletions
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. |