mirror of
https://git.phreedom.club/localhost_frssoft/bbs-telnet
synced 2024-11-24 00:29:23 +02:00
Compare commits
2 Commits
2bfe5c5a4a
...
1247dd2d36
Author | SHA1 | Date | |
---|---|---|---|
localhost_frssoft | 1247dd2d36 | ||
localhost_frssoft | 7ada3bd252 |
|
@ -83,6 +83,11 @@ 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,7 +1,8 @@
|
||||||
#/bin/sh
|
#/bin/sh
|
||||||
|
|
||||||
toot(){
|
toot(){
|
||||||
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
|
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="$message" -F visibility='unlisted' -H "Authorization: Bearer $instance_token" https://$instance/api/v1/statuses
|
||||||
}
|
}
|
||||||
|
|
||||||
timeline_render(){
|
timeline_render(){
|
||||||
|
|
Loading…
Reference in New Issue