Commands are now camel-cased

This commit is contained in:
diamondburned (Forefront) 2020-01-23 22:30:32 -08:00
parent 3baf89671b
commit 3d81c28685
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ func (sub *Subcommand) parseCommands() error {
// Check if Raw is enabled for command:
if !flag.Is(Raw) {
command.Command = strings.ToLower(name)
command.Command = strings.ToLower(string(name[0])) + name[1:]
}
// Middlewares shouldn't even have arguments.