Skip to content

Implement Fuzzy String Searching for the ;division Command #5

Description

@aryker

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"

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions