diff options
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. |