From 3e31914eae70f529e28a3197266c9a2b7c4a01ad Mon Sep 17 00:00:00 2001 From: Ivan Boothe Date: Mon, 25 Oct 2021 20:21:13 -0700 Subject: [PATCH] Increase minimum search score to prevent tons of false positives Signed-off-by: Ivan Boothe --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 46f5cad..ac2a695 100644 --- a/main.py +++ b/main.py @@ -79,7 +79,7 @@ class KeywordQueryEventListener(EventListener): items = [] arg = event.get_argument() if arg: - result_list = SortedList(arg, min_score=40, limit=10) + result_list = SortedList(arg, min_score=99, limit=10) result_list.extend(extension.character_list) for char in result_list: image_path = get_character_icon(char)