From c27acfc9cf28883a37e15ea9a200357a4e47bc06 Mon Sep 17 00:00:00 2001 From: prokopparuzek Date: Mon, 9 Feb 2026 11:41:28 +0100 Subject: [PATCH] fortune withnout PATH --- irc_bot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc_bot.go b/irc_bot.go index b1a3569..13c19e9 100644 --- a/irc_bot.go +++ b/irc_bot.go @@ -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":