nkprasad12 / dnd

Web application for TTRPGs.
MIT License
1 stars 0 forks source link

Add smarter "complete" functionality #96

Closed ReidAnderson closed 3 years ago

ReidAnderson commented 3 years ago

I went through and basically rerolled everything from the last session for Eberk. Everything looks like it was working, the only thing that I found is that Avrae in discord was able to identify which rapier I was talking about when I did !attack rapier, but dnd could not.

image

nkprasad12 commented 3 years ago

In the above example we see that we couldn't resolve "Luck Blade Rapier" from "Rapier", since the completer is strictly a prefix based completer. Ideally in the future we would be able to handle such cases and potentially fuzzy matching (like typos) as well.