Skip to content

Commit

Permalink
Remove examples and inaccurate docs from HTTP (serenity-rs#2805)
Browse files Browse the repository at this point in the history
  • Loading branch information
GnomedDev committed Mar 19, 2024
1 parent 2cb925d commit 7656967
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 689 deletions.
3 changes: 1 addition & 2 deletions src/builder/create_forum_post.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ impl<'a> CreateForumPost<'a> {
#[cfg(feature = "http")]
pub async fn execute(mut self, http: &Http, channel_id: ChannelId) -> Result<GuildChannel> {
let files = self.message.attachments.take_files();
http.create_forum_post_with_attachments(channel_id, &self, files, self.audit_log_reason)
.await
http.create_forum_post(channel_id, &self, files, self.audit_log_reason).await
}
}
Loading

0 comments on commit 7656967

Please sign in to comment.