Last active
June 3, 2025 16:20
-
-
Save bawanyadam/2f959560d6c5b6b659484186b3687788 to your computer and use it in GitHub Desktop.
Revisions
-
bawanyadam revised this gist
Jul 8, 2024 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,11 @@ # Generate a random number of 'm's between 3 and 20 m_count = random.randint(3, 20) # Generate a random number of 'y's between 1 and 8 y_count = random.randint(1, 8) # Build the message message = "m" * m_count + " whatcha sa" + "y" * y_count # Send the post post = client.send_post(message) -
bawanyadam created this gist
Jul 8, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ # Install the 'atproto' library from https://docs.bsky.app/docs/get-started # Python 3.8 minimum requirement from atproto import Client import random client = Client(base_url='https://bsky.social') client.login('user.bsky.social', 'app-password') # Generate a random number of 'm's between 3 and 20 m_count = random.randint(3, 20) message = "m" * m_count + " whatcha say" # Send the post post = client.send_post(message)