Skip to content

Commit

Permalink
Limit image embeds for code review / showcase posts
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Jun 3, 2024
1 parent 5722df6 commit 6a05246
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/forum-channels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ export default class ForumChannels extends BotComponent {
`New ${
thread.parentId == this.wheatley.channels.code_review.id ? "code review" : "showcase"
} post: ${thread.name}`,
false,
true,
this.wheatley.channels.general_discussion,
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/wheatley.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ type quote_options = {
title?: string;
message_id_footer?: boolean;
user_id_footer?: boolean;
// only include an image in the single embed, omit all other media or attachments
// only include one image in the single embed, omit all other media or attachments
no_extra_media_embeds?: boolean;
// override message content
custom_content?: string;
Expand Down

0 comments on commit 6a05246

Please sign in to comment.