From 01d22b5f6b7a61629a3d55a392a36e22ce088b25 Mon Sep 17 00:00:00 2001 From: HonusBot Date: Sat, 15 May 2021 19:57:23 +0200 Subject: [PATCH] Fix imagemagick --- honusbot-cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/honusbot-cli.sh b/honusbot-cli.sh index 0360b76..60d9dc7 100755 --- a/honusbot-cli.sh +++ b/honusbot-cli.sh @@ -3,5 +3,5 @@ command="$1" shift args="$@" -curl -s --location --request POST 'https://api.ignuranza.net/remote-command-api/command' --header 'Content-Type: application/json' --header 'User-Agent: RcAPI/1.2' --data-raw "{\"botName\": \"AstralNetworkHonusBot\", \"botPassword\": \"KixdujXD37898ZSy893\", \"command\": \"${command}\", \"replyToUserId\": 0, \"senderUserId\": 1237252783, \"chatId\": 1237252783, \"queryText\": \"$args\", \"rawSingleArgument\": false}" | jq -r ".imageUrl" | xargs --max-args=1 --no-run-if-empty curl -s --location | display -title "HonusBot CLI" -monitor -density 50 -quiet +curl -s --location --request POST 'https://api.ignuranza.net/remote-command-api/command' --header 'Content-Type: application/json' --header 'User-Agent: RcAPI/1.2' --data-raw "{\"botName\": \"AstralNetworkHonusBot\", \"botPassword\": \"KixdujXD37898ZSy893\", \"command\": \"${command}\", \"replyToUserId\": 0, \"senderUserId\": 1237252783, \"chatId\": 1237252783, \"queryText\": \"$args\", \"rawSingleArgument\": false}" | jq -r ".imageUrl" | xargs --max-args=1 --no-run-if-empty curl -s --location | display -title "HonusBot CLI" -quiet