Closed Cenngo closed 2 years ago
Why is this a draft?
For some reason, even though i switched to SlashCommandBuilder, SlashCommandBuilder.Name.set is still not throwing the intended error.
ofc, SlashCommandBuilder doesnt check if there is any uppercase letters in the command name. We should implement that in the core library.
Do you want to make a PR for it?
Do you want to make a PR for it?
Yes, will do that tomorrow.
Is this ready for review now?
Is this ready for review now?
Everything seems to be in order.
This PR adds additional command validation steps aiming to give users more descriptive runtime exceptions and reduce the number of
Invalid Form Body
exception encounters.