This repository was archived by the owner on Mar 4, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ const self = new Module({
144144 type : 'boolean' ,
145145 default : true ,
146146 description :
147- 'Highlight words in Automoderator report and action reasons which are enclosed in []. Can be used to highlight automod regex matches.' ,
147+ 'Highlight words in bot mods report and action reasons which are enclosed in []. Can be used to highlight bot mods regex matches.' ,
148148 oldReddit : true ,
149149 } ,
150150 {
@@ -1168,7 +1168,8 @@ Action reason: ${value.data.details}
11681168 if ( ! $this . hasClass ( 'hl-processed' ) ) {
11691169 $this . addClass ( 'hl-processed' ) ;
11701170 const reportText = $this . text ( ) ;
1171- if ( reportText . indexOf ( 'AutoModerator:' ) >= 0 ) {
1171+
1172+ if ( botCheckmark . some ( bot => reportText . includes ( `${ bot } :` ) ) ) {
11721173 let matches ;
11731174 const matchesArray = [ ] ;
11741175 while ( ( matches = regexMatchFinder . exec ( reportText ) ) ) {
You can’t perform that action at this time.
0 commit comments