fortune withnout PATH

This commit is contained in:
2026-02-09 11:41:28 +01:00
parent c598f81597
commit c27acfc9cf

View File

@@ -96,7 +96,7 @@ func main() {
case "!pozdrav":
sendMsg(conn, "Ahoj "+who, receiver)
case "!fortune":
msg, _ := exec.Command("fortune", "cs").Output()
msg, _ := exec.Command("/usr/games/fortune", "cs").Output()
fmt.Println(string(msg))
sendMultiline(conn, string(msg), receiver)
case "!ftip":