Update Scripts/bluesky-dm-to-telegram.sh

Remove debug function to create post.
This commit is contained in:
2025-07-27 20:08:14 +02:00
parent fc90098cd9
commit f66d56d976

View File

@@ -23,14 +23,6 @@ create_session() {
-d '{"identifier": "'"$BLUESKY_HANDLE"'", "password": "'"$BLUESKY_PASSWORD"'"}'
}
# DEBUG: Erstelle Post
create_post() {
curl -X POST $PDSHOST/xrpc/com.atproto.repo.createRecord \
-H "Authorization: Bearer $ACCESS_JWT" \
-H "Content-Type: application/json" \
-d "{\"repo\": \"$BLUESKY_HANDLE\", \"collection\": \"app.bsky.feed.post\", \"record\": {\"text\": \"Hello world! I posted this via the API.\", \"createdAt\": \"$(date -u +%Y-%m-%dT%H:%M:%SZ)\"}}"
}
# Hole alle Nachrichten
get_messages() {
curl -s "https://api.bsky.chat/xrpc/chat.bsky.convo.listConvos?limit=50" \