uprava Libera

This commit is contained in:
2025-03-18 20:51:09 +01:00
parent 67967ee7ae
commit 8e633fbebb

View File

@@ -17,11 +17,11 @@ import (
)
const (
host string = "h21.fun:6697"
host string = "irc.eu.libera.chat:6697"
help string = `
botík obecný
https://git.h21.fun/h21/botik.git
Je v kanálu #test i v DM
Je v kanálu #h21 i v DM
Zdraví nově příchozí.
Příkazy:
!help - Zobraz nápovědu
@@ -63,10 +63,9 @@ func main() {
}
defer conn.Close()
reader := bufio.NewReader(conn)
fmt.Fprintln(conn, "PASS horal")
fmt.Fprintln(conn, "USER bot rpi3 rpi3 :botik obecny")
fmt.Fprintln(conn, "NICK botik")
fmt.Fprintln(conn, "JOIN #test")
fmt.Fprintln(conn, "USER h21-botik botik h21 :botik obecny")
fmt.Fprintln(conn, "NICK h21-botik")
fmt.Fprintln(conn, "JOIN #h21")
// joke init
api := jokeapi.New()
api.SetLang("en")