You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Flick only assigns a division if the argument provided with the ;division command matches the Discord role name for that division exactly. This has caused a bit of difficulty for some students trying to assign themselves to a division.
Implement fuzzy string searching so that Flick is more tolerant of typos and slight mismatches in these arguments (e.g. robotops vs. Robot Ops).
In addition, we should support a few alternate strings that match to these roles that people might enter as arguments to this command. For example:
"Public Relations" = "PR"
"Programming" = "Programming/Electrical"
"Electrical" = "Programming/Electrical"
"Information Technology" = "IT"
"Robot Operations" = "Robot Ops"
"Mechanical" = "Robot Ops"
The text was updated successfully, but these errors were encountered:
This was half-solved with e8acc73, but it doesn't include the alternate strings stuffs.
That'll probably require me to hard-code a list of divisions in config.yaml. I'm not complaining, since that actually makes the code simpler, but whatever.
Currently, Flick only assigns a division if the argument provided with the ;division command matches the Discord role name for that division exactly. This has caused a bit of difficulty for some students trying to assign themselves to a division.
Implement fuzzy string searching so that Flick is more tolerant of typos and slight mismatches in these arguments (e.g. robotops vs. Robot Ops).
In addition, we should support a few alternate strings that match to these roles that people might enter as arguments to this command. For example:
The text was updated successfully, but these errors were encountered: