Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Nov 17, 2024
1 parent 95d3343 commit fb0b307
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/formatting-error-detection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default class FormattingErrorDetection extends BotComponent {
non_code_content.includes(`'''`) || non_code_content.includes(`"""`) || non_code_content.includes("```");
const is_beginner_and_didnt_highlight =
message.member &&
message.content.includes("```") &&
!message.content.includes("```c") &&
!this.wheatley.has_skill_roles_other_than_beginner(message.member);
return has_wrong_triple_tick || is_beginner_and_didnt_highlight;
Expand Down

0 comments on commit fb0b307

Please sign in to comment.