Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import praw
- import LoginInfo
- #Created by u/QuantumBrute
- print ("Starting Bot...")
- print ("Logging in...")
- #To login into reddit
- reddit = praw.Reddit(client_id= LoginInfo.client_id,
- client_secret= LoginInfo.client_secret,
- username= LoginInfo.username,
- password= LoginInfo.password,
- user_agent= LoginInfo.user_agent)
- print ("Logged in!")
- #Defines which subreddit the bot should work on
- subreddit = reddit.subreddit("QuantumBrute")
- def approve():
- for contributor in reddit.subreddit('QuantumBrute').contributor():
- print(contributor)
- approve()
Add Comment
Please, Sign In to add comment