# Path: reddit/loginreddit.py
# class LoginReddit:
# 
#     def __init__(self):
#         if message: print('[loginreddit] logging in')
#         r = praw.Reddit(client_id=obot.client_id,
#                         client_secret=obot.client_secret,
#                         user_agent=obot.user_agent,
#                         username=obot.username,
#                         password=obot.password)
# 
# 
#         if message: print('[loginreddit] logging successful')
# 
#         if message: print('[loginreddit] updating heroDictionary')
#         getheroes.requestGetHeroes()
#         if message: print('[loginreddit] updating heroDictionary success')
# 
#         if message: print('[loginreddit] updating proPlayerDictionary')
#         getproplayerlist.requestGetProPlayerList()
#         if message: print('[loginreddit] updating proPlayerDictionary success')
# 
#         #if message: print('[loginreddit] updating dota 2 items_game schema')
#         #getschema.requestGetSchema()
#         #if message: print('[loginreddit] updating dota 2 items_game schema success')
# 
# 
# 
#         if message: print('[loginreddit] starting threads')
# 
#         if message: print('[loginreddit] starting deleteBadComments thread')
#         t = threading.Thread(target=workerdeletebadcomments.deleteBadComments , args = (r,))
#         t.start()
# 
#         if message: print('[loginreddit] starting findComments thread')
#         t = threading.Thread(target=workerfindcomments.findComments, args = (r,))
#         t.start()
# 
#         if message: print('[loginreddit] starting deleteRequestedComments thread')
#         t = threading.Thread(target=workerdeleterequestedcomments.deleteRequestedComments, args = (r,))
#         t.start()
# 
#         if message: print('[loginreddit] starting threads success')
# 
# 
# 
#         self.r = r
# 
# Path: reddit/botinfo.py



from reddit.loginreddit import LoginReddit
from reddit.botinfo import message
# coding=utf-8
#message = True

#TODO display status of Steam API in flair! (Last bot activity: YYYY/MM/DD HH/MM Steam API: Online/Offline)
#TODO make time stamp based on Valve's HQ location (PDT)
#TODO check Steam API every 1 minute or when bot is working
#TODO update flair every minute

#TODO clean up code, more vars, more commenting, more print messages to see status of bot in terminal
#TODO think of a way to display the different threads better

#TODO implement summoning of bot and filtering heroes/game modes
#TODO think of commands to summon bot

#TODO run bot on Raspberry Pi and do stress test

if message: print('[main] importing complete')

if __name__ == "__main__":
    if message: print('[main] loading loginReddit')

# Path: reddit/loginreddit.py
# class LoginReddit:
# 
#     def __init__(self):
#         if message: print('[loginreddit] logging in')
#         r = praw.Reddit(client_id=obot.client_id,
#                         client_secret=obot.client_secret,
#                         user_agent=obot.user_agent,
#                         username=obot.username,
#                         password=obot.password)
# 
# 
#         if message: print('[loginreddit] logging successful')
# 
#         if message: print('[loginreddit] updating heroDictionary')
#         getheroes.requestGetHeroes()
#         if message: print('[loginreddit] updating heroDictionary success')
# 
#         if message: print('[loginreddit] updating proPlayerDictionary')
#         getproplayerlist.requestGetProPlayerList()
#         if message: print('[loginreddit] updating proPlayerDictionary success')
# 
#         #if message: print('[loginreddit] updating dota 2 items_game schema')
#         #getschema.requestGetSchema()
#         #if message: print('[loginreddit] updating dota 2 items_game schema success')
# 
# 
# 
#         if message: print('[loginreddit] starting threads')
# 
#         if message: print('[loginreddit] starting deleteBadComments thread')
#         t = threading.Thread(target=workerdeletebadcomments.deleteBadComments , args = (r,))
#         t.start()
# 
#         if message: print('[loginreddit] starting findComments thread')
#         t = threading.Thread(target=workerfindcomments.findComments, args = (r,))
#         t.start()
# 
#         if message: print('[loginreddit] starting deleteRequestedComments thread')
#         t = threading.Thread(target=workerdeleterequestedcomments.deleteRequestedComments, args = (r,))
#         t.start()
# 
#         if message: print('[loginreddit] starting threads success')
# 
# 
# 
#         self.r = r
# 
# Path: reddit/botinfo.py



# Path: main.py
from reddit.loginreddit import LoginReddit
from reddit.botinfo import message

# coding=utf-8
#message = True

#TODO display status of Steam API in flair! (Last bot activity: YYYY/MM/DD HH/MM Steam API: Online/Offline)
#TODO make time stamp based on Valve's HQ location (PDT)
#TODO check Steam API every 1 minute or when bot is working
#TODO update flair every minute

#TODO clean up code, more vars, more commenting, more print messages to see status of bot in terminal
#TODO think of a way to display the different threads better

#TODO implement summoning of bot and filtering heroes/game modes
#TODO think of commands to summon bot

#TODO run bot on Raspberry Pi and do stress test

if message: print('[main] importing complete')

if __name__ == "__main__":
    if message: print('[main] loading loginReddit')

    s1 = LoginReddit()