Beispiel #1
0
func connectToFreenodeIpfs(con *hb.IrcCon) {
	con.AddTrigger(pinTrigger)
	con.AddTrigger(listTrigger)
	con.AddTrigger(befriendTrigger)
	con.AddTrigger(shunTrigger)
	con.AddTrigger(OmNomNom)
	con.AddTrigger(EatEverything)
	con.Start()
	con.Join("#ipfs")
	con.Join("#ip-berlin")
	con.Join("#ip-seattle")

	for _ = range con.Incoming {
	}
}
Beispiel #2
0
func connectToFreenodeIpfs(con *hb.IrcCon) {
	con.AddTrigger(pinTrigger)
	con.AddTrigger(listTrigger)
	con.AddTrigger(OmNomNom)
	con.AddTrigger(EatEverything)
	con.Start()
	con.Join("#ipfs")

	for _ = range con.Incoming {
	}
}