2025-04-30 17:07:16 +03:00

19 lines
417 B
Python

import sys
from AiBot import AiBot
from daemon.SimpleDaemon import Daemon
class DaBotDaemon(Daemon):
def run(self):
ai_bot = AiBot()
ai_bot.run()
# Press the green button in the gutter to run the script.
if __name__ == '__main__':
# with DaBotDaemon('/tmp/daemon-dabot.pid', error_log_file='errlog.txt') as daemon:
# daemon.process_command()
ai_bot = AiBot()
ai_bot.run()