Skip to content

Commit

Permalink
docs: fix usage of exclusionRegex
Browse files Browse the repository at this point in the history
It should be within editConfig

Closes #23
  • Loading branch information
siddharthvp authored Dec 17, 2021
1 parent 013cbfc commit f56dd01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion website/docs/7-exclusion-compliance.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ Mwn's edit() method can be configured to respect {{nobots}} or equivalent. If th

```js
bot.setOptions({
exclusionRegex: /\{\{nobots\}\}/i
editConfig: {
exclusionRegex: /\{\{nobots\}\}/i
}
});
```

Expand Down

0 comments on commit f56dd01

Please sign in to comment.