mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-28 01:33:10 +00:00
Commands are now camel-cased
This commit is contained in:
parent
3baf89671b
commit
3d81c28685
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue