Skip to content

Commit

Permalink
Fix function signatures for ChannelId::delete_reactions and `Messag…
Browse files Browse the repository at this point in the history
…e::delete_reaction` (#2543)
  • Loading branch information
mkrasnitski authored Sep 21, 2023
1 parent 3251d95 commit 1a03dfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/model/channel/channel_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ impl ChannelId {
/// [Manage Messages]: Permissions::MANAGE_MESSAGES
#[inline]
pub async fn delete_reactions(
&self,
self,
http: impl AsRef<Http>,
message_id: impl Into<MessageId>,
) -> Result<()> {
Expand Down
2 changes: 1 addition & 1 deletion src/model/channel/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ impl Message {
/// [Manage Messages]: Permissions::MANAGE_MESSAGES
#[inline]
pub async fn delete_reaction(
self,
&self,
http: impl AsRef<Http>,
user_id: Option<UserId>,
reaction_type: impl Into<ReactionType>,
Expand Down

0 comments on commit 1a03dfb

Please sign in to comment.