CodecademyCommunity / codecademy-discord-bot

Custom moderation bot for the official Codecademy Community Discord server.
https://codecademycommunity.github.io/
MIT License
11 stars 1 forks source link

add max_length validation to input fields #347

Closed mikejoh12 closed 2 years ago

mikejoh12 commented 2 years ago

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