ONE LOVE
This commit is contained in:
parent
a1c4b051cd
commit
c0a9df43dc
|
@ -143,7 +143,7 @@ $g1balance
|
|||
"
|
||||
# IF no AVATAR, publish message with QRCode
|
||||
if [[ ! $(file "/tmp/_g1.avatar.png" | grep 'PNG') ]]; then
|
||||
sbotc publish '{"type":"post","text":"[Flash QRCode]('"$id"') with [Cesium](https://cesium.app).\n Thank you.","mentions":[{"link":"'"$id"'","name":"'"$name"'","size":'"$size"',"type":"'"$type"'"}]}'
|
||||
sbotc publish '{"type":"post","text":"![QRCode]('"$id"')\n Scan QRCode with [Cesium](https://cesium.app).\n Thank you\n ONE :heart:","mentions":[{"link":"'"$id"'","name":"'"$name"'","size":'"$size"',"type":"'"$type"'"}]}'
|
||||
else
|
||||
# Publish only if new avatar
|
||||
if [[ $(diff /tmp/_g1.avatar.png ~/.zen/ipfs/.$ipfsnodeid/G1SSB/_g1.avatar.png) ]]; then
|
||||
|
|
Loading…
Reference in New Issue