From f56dd018000f21fccef03e170bc13636957daa9c Mon Sep 17 00:00:00 2001 From: Siddharth VP Date: Fri, 17 Dec 2021 10:33:32 +0530 Subject: [PATCH] docs: fix usage of exclusionRegex It should be within editConfig Closes #23 --- website/docs/7-exclusion-compliance.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/docs/7-exclusion-compliance.md b/website/docs/7-exclusion-compliance.md index c23e4d7..04352ec 100644 --- a/website/docs/7-exclusion-compliance.md +++ b/website/docs/7-exclusion-compliance.md @@ -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 + } }); ```