Ejemplo n.º 1
0
func init() {
	handler := utils.NewSlackHandler("Pivotal", ":triangular_ruler:")
	s := &bot{handler: handler}
	robots.RegisterRobot("pvt", s)
}
Ejemplo n.º 2
0
func init() {
	handler := utils.NewSlackHandler("Project", ":books:")
	s := &bot{handler: handler}
	robots.RegisterRobot("project", s)
	robots.RegisterRobot("pr", s)
}
Ejemplo n.º 3
0
func init() {
	handler := utils.NewSlackHandler("Users", ":two_men_holding_hands:")
	s := &bot{handler: handler}
	robots.RegisterRobot("user", s)
}
Ejemplo n.º 4
0
func init() {
	handler := utils.NewSlackHandler("Vacation", ":surfer:")
	s := &bot{handler: handler}
	robots.RegisterRobot("vacation", s)
}
Ejemplo n.º 5
0
func init() {
	p := &bot{}
	robots.RegisterRobot("ping", p)
}
Ejemplo n.º 6
0
func init() {
	handler := utils.NewSlackHandler("Poker", ":game_die:")
	s := &bot{handler: handler}
	robots.RegisterRobot("poker", s)
	robots.RegisterRobot("pk", s)
}
Ejemplo n.º 7
0
func init() {
	r := &bot{}
	robots.RegisterRobot("bots", r)
}
Ejemplo n.º 8
0
func init() {
	s := &bot{}
	robots.RegisterRobot("bot", s)
}
Ejemplo n.º 9
0
func init() {
	handler := utils.NewSlackHandler("Store", ":floppy_disk:")
	s := &bot{handler: handler}
	robots.RegisterRobot("store", s)
}
Ejemplo n.º 10
0
func init() {
	handler := utils.NewSlackHandler("GitHub", "https://assets-cdn.github.com/images/modules/logos_page/Octocat.png")
	s := &bot{handler: handler}
	robots.RegisterRobot("github", s)
	robots.RegisterRobot("gh", s)
}