mirror of
https://gitlab.com/prokop_paruzek/botik.git
synced 2025-12-19 06:17:56 +01:00
change url
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user