cs-discord-at-ucf / lion

🦁A Discord bot from scratch for the UCF Computer Science Discord.
MIT License
42 stars 18 forks source link

improve findSimilarClasses with awareness of class channel name format #835

Closed c650 closed 1 month ago

c650 commented 3 months ago

public findSimilarClasses(className: string) {

ideally we try to tokenise the className so that if the input guess (also rename the param from className to maybeClassName or classNameGuess , pls ) has part of a class channel name then it filters down further

so inputs like

whereas:

and like