Adding and removing roles has been somewhat of a sticky issue with the bot for a while. Originally, users would have to match the case of a role letter for letter. This was then updated so that they were case insensitive, but roles with capitalization would fail to be added (e.g. Announcement). This update will fix #90 such that a role is now associated with it's own lower case version of the role and will be reassociated with the original word.
This update also fixes #10. Sometimes, a user will have a blank space character at the end of a role name. This will henceforth sanitize all the user's inputs so that all blank space chars are removed.
Fixes #10 and #90
Adding and removing roles has been somewhat of a sticky issue with the bot for a while. Originally, users would have to match the case of a role letter for letter. This was then updated so that they were case insensitive, but roles with capitalization would fail to be added (e.g.
Announcement
). This update will fix #90 such that a role is now associated with it's own lower case version of the role and will be reassociated with the original word.This update also fixes #10. Sometimes, a user will have a blank space character at the end of a role name. This will henceforth sanitize all the user's inputs so that all blank space chars are removed.
This has been tested as functional.