From 3d81c28685f413904fd9ae25bb3e08f736ac18a1 Mon Sep 17 00:00:00 2001 From: "diamondburned (Forefront)" Date: Thu, 23 Jan 2020 22:30:32 -0800 Subject: [PATCH] Commands are now camel-cased --- bot/subcommand.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/subcommand.go b/bot/subcommand.go index 7e77ad4..5013a78 100644 --- a/bot/subcommand.go +++ b/bot/subcommand.go @@ -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.