Skip to content

Commit

Permalink
Remove examples and inaccurate docs from HTTP
Browse files Browse the repository at this point in the history
  • Loading branch information
GnomedDev committed Mar 17, 2024
1 parent f569bd3 commit d6843b8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 686 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 d6843b8

Please sign in to comment.