mirror of
https://gitlab.com/prokop_paruzek/botik.git
synced 2026-11-03 18:28:03 +01:00
fortune withnout PATH
This commit is contained in:
1 parent
c598f81597
commit
c27acfc9cf
1 file changed
+1
-1
+1
-1
@@ -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":
|
||||
|
||||
Reference in new issue
Block a user