From a277ac53fd7726cfe4f6ea64cabd592c57fe0f8d Mon Sep 17 00:00:00 2001 From: PalmDevs Date: Fri, 29 Mar 2024 18:50:22 +0700 Subject: [PATCH] docs(bots/discord): add note for `ocrTriggers` config --- bots/discord/docs/1_configuration.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bots/discord/docs/1_configuration.md b/bots/discord/docs/1_configuration.md index 27e180c..86474f4 100644 --- a/bots/discord/docs/1_configuration.md +++ b/bots/discord/docs/1_configuration.md @@ -93,6 +93,9 @@ Whether to use whitelist (`true`) or blacklist (`false`) mode. An array containing response configurations. A response can be triggered by multiple ways[^1], which can be specified in the `response.triggers` field. The `response` field contains the embed data that the bot should send. If it is set to `null`, the bot will not send a response or delete the current response if editing. +> [!NOTE] +> If you want only OCR results to match a certain regular expression, you can put them into the `response.ocrTriggers` array. + ```ts { triggers: [