Skip to content
This repository has been archived by the owner on May 4, 2023. It is now read-only.

Commit

Permalink
Updates on 2022.10.25
Browse files Browse the repository at this point in the history
Commenting added
  • Loading branch information
bredcat999 authored Oct 25, 2022
1 parent 09b270d commit cdcfde9
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions 2022.10.25/ScratchTerminal_2022.10.25.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
'''
ScratchTerminal by bredcat999
ver. 2022.10.25 (Early Release)
'''

import scratchattach as scratch3
import tkinter as tk


print("Username and password please:")
session = scratch3.login(input(), input())

#Splash Text
print("You have been signed in.")
print("Welcome to ScratchTerminal.")
print("---------")
print("ver. 2022.10.25.1")

#updates until
while 1 == 1 :


print("Search user:")
user = session.connect_user(input())

print("User stats:")

#gets follower count
print("Followers:")
print(user.follower_count())

#gets project count
print("Projects:")
print(user.project_count())

#gets following count
print("Following:")
print(user.following_count())

print("Would you like to leave a comment? y/n")

MenuInput = input()
if MenuInput == "y" :
print("Input the username of the person you want to comment on:")
user = scratch3.get_user(input())

print("Comment:")
user.post_comment(input(), parent_id="", commentee_id="")
print("Done!")




print("On standby...")



0 comments on commit cdcfde9

Please sign in to comment.