diff options
| author | acdenisSK <[email protected]> | 2017-07-11 22:13:57 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-07-11 22:13:57 +0200 |
| commit | ebc4e51fe3b1e5bc61dc99da25a22d2e2277ffc6 (patch) | |
| tree | 1eeee881705d8721cdb4238461e5422043a63ca1 /src/model/channel/message.rs | |
| parent | Add a way to add multiple fields at once (diff) | |
| download | serenity-ebc4e51fe3b1e5bc61dc99da25a22d2e2277ffc6.tar.xz serenity-ebc4e51fe3b1e5bc61dc99da25a22d2e2277ffc6.zip | |
Remove the deprecated functions
It's already been enough time for people to migrate
Diffstat (limited to 'src/model/channel/message.rs')
| -rw-r--r-- | src/model/channel/message.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/model/channel/message.rs b/src/model/channel/message.rs index 6314cae..e1eccf0 100644 --- a/src/model/channel/message.rs +++ b/src/model/channel/message.rs @@ -490,16 +490,6 @@ impl Message { http::unpin_message(self.channel_id.0, self.id.0) } - /// Alias of [`reaction_users`]. - /// - /// [`reaction_users`]: #method.reaction_users - #[deprecated(since="0.1.5", note="Use `reaction_users` instead.")] - #[inline] - pub fn get_reaction_users<R, U>(&self, reaction_type: R, limit: Option<u8>, after: Option<U>) - -> Result<Vec<User>> where R: Into<ReactionType>, U: Into<UserId> { - self.reaction_users(reaction_type, limit, after) - } - pub(crate) fn check_content_length(map: &JsonMap) -> Result<()> { if let Some(content) = map.get("content") { if let Value::String(ref content) = *content { |