mirror of
https://git.phreedom.club/localhost_frssoft/bbs-telnet
synced 2024-11-24 01:39:21 +02:00
Compare commits
No commits in common. "1247dd2d3654efa587d9e9c3ec87eb17c4c6aca8" and "2bfe5c5a4a6b1ecd7159f098dfc3c69abbbe5e2a" have entirely different histories.
1247dd2d36
...
2bfe5c5a4a
|
@ -83,11 +83,6 @@ while read -r cmd mesg; do
|
||||||
printf 'test io > '
|
printf 'test io > '
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
"updatebbs")
|
|
||||||
git pull
|
|
||||||
echo 'reconnect pls'
|
|
||||||
break
|
|
||||||
;;
|
|
||||||
*) break ;;
|
*) break ;;
|
||||||
esac
|
esac
|
||||||
printf 'bbs > '
|
printf 'bbs > '
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
#/bin/sh
|
#/bin/sh
|
||||||
|
|
||||||
toot(){
|
toot(){
|
||||||
message="$(echo "$1" | sed -e 's!/n!\n!g')" # Just my android keyboard too dumb and far
|
curl -s -X POST -F in_reply_to_id=$reply -F status="$1" -F visibility='unlisted' -H "Authorization: Bearer $instance_token" https://$instance/api/v1/statuses
|
||||||
curl -s -X POST -F in_reply_to_id=$reply -F status="$message" -F visibility='unlisted' -H "Authorization: Bearer $instance_token" https://$instance/api/v1/statuses
|
|
||||||
}
|
}
|
||||||
|
|
||||||
timeline_render(){
|
timeline_render(){
|
||||||
|
|
Loading…
Reference in New Issue