Skip to content

Commit

Permalink
Remove deprecated endpoints.
Browse files Browse the repository at this point in the history
Signed-off-by: Valdemar Erk <valdemar@erk.io>
  • Loading branch information
Erk- committed May 28, 2020
1 parent 18b5748 commit d06d3c1
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions http/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -424,20 +424,10 @@ impl Client {
UpdateGuildChannelPositions::new(self, guild_id, channel_positions)
}

#[deprecated(note = "Please use the guild_widget method instead.")]
pub fn guild_embed(&self, guild_id: GuildId) -> GetGuildWidget<'_> {
GetGuildWidget::new(self, guild_id)
}

pub fn guild_widget(&self, guild_id: GuildId) -> GetGuildWidget<'_> {
GetGuildWidget::new(self, guild_id)
}

#[deprecated(note = "Please use the update_guild_widget method instead.")]
pub fn update_guild_embed(&self, guild_id: GuildId) -> UpdateGuildWidget<'_> {
UpdateGuildWidget::new(self, guild_id)
}

pub fn update_guild_widget(&self, guild_id: GuildId) -> UpdateGuildWidget<'_> {
UpdateGuildWidget::new(self, guild_id)
}
Expand Down

0 comments on commit d06d3c1

Please sign in to comment.