mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-12-12 05:06:14 +00:00
increase min threshold for command suggestion
This commit is contained in:
parent
6bc7d10d30
commit
128fcd891f
@ -76,7 +76,7 @@ namespace CompatBot.EventHandlers
|
||||
from t in terms
|
||||
from kc in knownCmds
|
||||
let v = (cmd: kc, w: t.GetFuzzyCoefficientCached(kc))
|
||||
where v.w > 0 && v.w < 1 // if it was a 100% match, we wouldn't be here
|
||||
where v.w > 0.3 && v.w < 1 // if it was a 100% match, we wouldn't be here
|
||||
orderby v.w descending
|
||||
select v
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user