mirror of
https://git.phreedom.club/localhost_frssoft/bbs-telnet
synced 2024-11-23 17:19:21 +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 > '
|
||||
done
|
||||
;;
|
||||
"updatebbs")
|
||||
git pull
|
||||
echo 'reconnect pls'
|
||||
break
|
||||
;;
|
||||
*) break ;;
|
||||
esac
|
||||
printf 'bbs > '
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
#/bin/sh
|
||||
|
||||
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(){
|
||||
|
|
Loading…
Reference in New Issue