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"
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: