aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Mark <[email protected]>2020-04-01 10:46:33 -0700
committerGravatar GitHub <[email protected]>2020-04-01 10:46:33 -0700
commit7a02ea8d35628e92ede20f6f1b93418a105040c2 (patch)
treea18ab65f816edff443651fec525e8f4e8d8832ff
parentFix linting? (diff)
Help: lower score cutoff for fuzzy match
-rw-r--r--bot/cogs/help.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/help.py b/bot/cogs/help.py
index 74c4cc664..6fc4d83f8 100644
--- a/bot/cogs/help.py
+++ b/bot/cogs/help.py
@@ -152,7 +152,7 @@ class CustomHelpCommand(HelpCommand):
Will return an instance of the `HelpQueryNotFound` exception with the error message and possible matches.
"""
choices = await self.get_all_help_choices()
- result = process.extractBests(string, choices, scorer=fuzz.ratio, score_cutoff=80)
+ result = process.extractBests(string, choices, scorer=fuzz.ratio, score_cutoff=60)
return HelpQueryNotFound(f'Query "{string}" not found.', dict(result))