Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import praw
- import time
- def run():
- print('Logging Into Reddit...')
- #Create Bot with login and private key - username - password
- bot = praw.Reddit(user_agent='AppNana Post Scheduler Bot v0.1', client_id='xyNB7BJhkza4hQ', client_secret='fNGdPVgk-WaPUqJvMEEKkauH8YY',
- username='ReiSixx9', password='')
- print('Logged in')
- sub_list = ['AppNana', 'AppNanas', 'Appnana_4_everybody', 'AppNanaCodeHack', 'AppnanaMoney', 'Appnanacodeexchange', 'AppnanaInviteCodes']
- while 1:
- for sub in sub_list:
- title = "d25367499"
- message = ''
- bot.subreddit(sub).submit(title, message) #Code for submitting new post on Reddit
- time.sleep(1020)
- if __name__ == '__main__':
- run()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement