diff --git a/pkg/handlers/command.go b/pkg/handlers/command.go index 9cbd5f9..a7cec34 100644 --- a/pkg/handlers/command.go +++ b/pkg/handlers/command.go @@ -21,10 +21,8 @@ func Command(message twitch.PrivateMessage, nb *bot.Bot) { commandName := strings.ToLower(strings.SplitN(message.Message, " ", 3)[0][2:]) // cmdParams are additional command inputs. - // example: - // weather san antonio - // is - // commandName cmdParams[0] cmdParams[1] + // example: "weather san antonion + // is: commandName cmdParams[0] cmdParams[1] cmdParams := strings.SplitN(message.Message, " ", 500) // msgLen is the amount of words in the message without the prefix.