func (h Hello) byeFunc(s victor.State) {
	msg := fmt.Sprintf("Bye %s!", s.Message().User().Name())
	s.Reply(msg)
}
another handler for the hello plugin
package hello
import (
	"fmt"
	"github.com/FogCreek/victor"
	"github.com/groob/radigast/plugins"
)
type Hello struct {
}
func (h Hello) Register() []victor.HandlerDocPair {
	var handlers []victor.HandlerDocPair
	handlers = append(handlers,
		&victor.HandlerDoc{
			CmdHandler:     h.helloFunc,
			CmdName:        "hello",
			CmdDescription: "reply back with the user name",
			CmdUsage:       []string{"NAME"},
		},
		&victor.HandlerDoc{
			CmdHandler:     h.byeFunc,
			CmdName:        "bye",
			CmdDescription: "Tell someone GoodBye",
			CmdUsage:       []string{"NAME"},
		},
	)
	return handlers
}
func (h Hello) helloFunc(s victor.State) {
	msg := fmt.Sprintf("Hello %s!", s.Message().User().Name())
	s.Chat().Send(s.Message().Channel().ID(), msg)
}