import os.path from .modules import daemon from .config import Config if __name__ == "__main__": with open(os.path.join(os.path.dirname(__file__), Config.TOKEN_FILE_NAME)) as f: token = f.read().strip() d = daemon.Daemon(Config.AGENT_SYMBOL, token) d.run()