Exemple #1
0
func Init() {
	kc = karma.Init()

	bot.Handle(recordKarma, client.PRIVMSG, client.ACTION)

	bot.Command(karmaCmd, "karma", "karma <thing>  -- "+
		"Retrieve the karma score of <thing>.")
}
Exemple #2
0
func Init() {
	kc = karma.Init()

	bot.HandleFunc(recordKarma, "privmsg", "action")

	bot.CommandFunc(karmaCmd, "karma", "karma <thing>  -- "+
		"Retrieve the karma score of <thing>.")
}