__ ____ _ __________ __

/ /   / __ \ |  / / ____/ /   ____ _____  ____/ /
  / /   / / / / | / / __/ / /   / __ `/ __ \/ __  /
 / /___/ /_/ /| |/ / /___/ /___/ /_/ / / / / /_/ /
/_____/\____/ |___/_____/_____/\__,_/_/ /_/\__,_/
This commit is contained in:
qo-op 2020-05-18 06:45:31 +02:00
parent 992be40be0
commit 05c339c041
2 changed files with 9 additions and 2 deletions

View File

@ -25,6 +25,13 @@ IPFSNODEID=$(ipfs id -f='<id>\n')
##################################
## INSTALL
echo '
__ ____ _ __________ __
/ / / __ \ | / / ____/ / ____ _____ ____/ /
/ / / / / / | / / __/ / / / __ `/ __ \/ __ /
/ /___/ /_/ /| |/ / /___/ /___/ /_/ / / / / /_/ /
/_____/\____/ |___/_____/_____/\__,_/_/ /_/\__,_/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
______ __ ____ ___
/ ____/___ ____ __ __/ / ____ _/ __ \____ _____/ (_)___
/ / / __ \/ __ \/ / / / / / __ `/ /_/ / __ `/ __ / / __ \
@ -32,7 +39,7 @@ echo '
\____/\____/ .___/\__, /_____/\__,_/_/ |_|\__,_/\__,_/_/\____/
/_/ /____/
Multimedia Layer installation https://copylaradio.com
Multimedia Layer https://copylaradio.com
' | lolcat
######## YOUTUBE-DL ##########
if [[ ! $(which youtube-dl) ]]; then

View File

@ -443,7 +443,7 @@ branch: $msg_branch
"
echo "$MESSAGE"
INLINE=$(node -p "JSON.stringify(process.env.MESSAGE)")
### TODO find sboyc text COMMA PROBLEM... Cannot send beautiful md formated SSB messages !!!
# echo '{"type":"post", "branch": "'"$msg_branch"'", "root": "'"$msg_root"'", "text":"'"${INLINE}"'","mentions":[{"link":"'"$id"'","name":"'"$name"'","size":"'"$size"'","type":"'"$type"'"},{"link":"#zenbot"},{"link":"#astroport"}]}'
sbotc publish '{"type":"post", "branch": "'"$msg_branch"'", "root": "'"$msg_root"'", "text":'${INLINE}',"mentions":[{"link":"'"$id"'","name":"'"$name"'","size":"'"$size"'","type":"'"$type"'"},{"link":"#zenbot"},{"link":"#astroport"}]}'