Guest User

Untitled

a guest
Apr 13th, 2019
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. import praw
  2. import LoginInfo
  3.  
  4. #Created by u/QuantumBrute
  5.  
  6. print ("Starting Bot...")
  7. print ("Logging in...")
  8.  
  9. #To login into reddit
  10. reddit = praw.Reddit(client_id= LoginInfo.client_id,
  11. client_secret= LoginInfo.client_secret,
  12. username= LoginInfo.username,
  13. password= LoginInfo.password,
  14. user_agent= LoginInfo.user_agent)
  15.  
  16. print ("Logged in!")
  17.  
  18. #Defines which subreddit the bot should work on
  19. subreddit = reddit.subreddit("QuantumBrute")
  20.  
  21. def approve():
  22. for contributor in reddit.subreddit('QuantumBrute').contributor():
  23. print(contributor)
  24.  
  25. approve()
Add Comment
Please, Sign In to add comment