From 9c4564779303d300b9fce601bb451d6929eb60d7 Mon Sep 17 00:00:00 2001 From: AlberLC Date: Sat, 3 Dec 2022 06:44:58 +0100 Subject: [PATCH] Update multibot_constants --- flanabot/bots/poll_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flanabot/bots/poll_bot.py b/flanabot/bots/poll_bot.py index dd3eb13..ed0c964 100644 --- a/flanabot/bots/poll_bot.py +++ b/flanabot/bots/poll_bot.py @@ -53,7 +53,7 @@ class PollBot(MultiBot, ABC): @staticmethod def _get_options(text: str, discarded_words: Iterable = ()) -> list[str]: - options = (option for option in text.split() if not flanautils.cartesian_product_string_matching(option.lower(), discarded_words, min_score=multibot_constants.PARSE_CALLBACKS_MIN_SCORE_DEFAULT)) + options = (option for option in text.split() if not flanautils.cartesian_product_string_matching(option.lower(), discarded_words, min_score=multibot_constants.PARSER_MIN_SCORE_DEFAULT)) text = ' '.join(options) conjunctions = [f' {conjunction} ' for conjunction in flanautils.CommonWords.get('conjunctions')]