func (h HandlerFunc) Cmd(name string, writer irc.Writer, event *Event) error {
	return h(name, writer, event)
}
Cmd implements Handler
package cmd
import (
	"regexp"
	"strings"
	"github.com/aarondl/ultimateq/irc"
	"github.com/pkg/errors"
)
var (
	rgxCmd = regexp.MustCompile(`^[a-z][a-z0-9]*$`)
)
type Handler interface {
	Cmd(name string, writer irc.Writer, event *Event) error
}
type HandlerFunc func(name string, writer irc.Writer, event *Event) error