change url

This commit is contained in:
2022-09-22 20:44:04 +02:00
parent 034d473ea0
commit 9497de5bb7

View File

@@ -14,7 +14,7 @@ import (
) )
const ( const (
host string = "pph21.duckdns.org:6697" host string = "h21.fun:6697"
help string = ` help string = `
botík obecný botík obecný
https://gitlab.com/prokop_paruzek/botik https://gitlab.com/prokop_paruzek/botik
@@ -85,6 +85,7 @@ func main() {
sendMsg(conn, "Ahoj "+who, receiver) sendMsg(conn, "Ahoj "+who, receiver)
case "!fortune": case "!fortune":
msg, _ := exec.Command("fortune").Output() msg, _ := exec.Command("fortune").Output()
fmt.Println(string(msg))
sendMultiline(conn, string(msg), receiver) sendMultiline(conn, string(msg), receiver)
case "!ftip": case "!ftip":
ftip, _ := api.Fetch() ftip, _ := api.Fetch()