docker-instabot/app.py
2019-02-16 16:25:26 +01:00

12 lines
209 B
Python

import os
import time
import json
from src import InstaBot
data = json.load(open('config.json'))
data['database_name'] = 'data.db'
data['session_file'] = 'data.session'
bot = InstaBot(**data)
bot.mainloop()