mirror of
https://gitlab.com/prokop_paruzek/botik.git
synced 2026-03-21 17:03:24 +01:00
fortune withnout PATH
This commit is contained in:
@@ -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