Adds the max_length string validation using builders and removes the previous manual max-length validation function. The commands which uses this are: ban, kick, removetimeout, timeout, unban, verbal and warn.
Any helpful knowledge/context for the reviewer?
Is a re-seeding of the database necessary? No
Any new dependencies to install? No
Any special requirements to test?
(e.g., admin perms, alt account, etc.)
Please make sure you've attempted to meet the following coding standards
[X] Code has been tested and does not produce errors
[X] Code is readable and formatted
[X] There isn't any unnecessary commented-out code
What issue is this solving?
Closes #340
Description
Adds the max_length string validation using builders and removes the previous manual max-length validation function. The commands which uses this are: ban, kick, removetimeout, timeout, unban, verbal and warn.
Any helpful knowledge/context for the reviewer?
Please make sure you've attempted to meet the following coding standards