1
0
Fork 0
ircBridgeV3/irc_runner.py

12 lines
322 B
Python

# Minimail file just to run the bot
## this sets the bot scope to work with all gunicorn workers
import time
from irc_bot import bot
if __name__ == "__main__":
print("[IRC BOT] Starting standalone bot process...")
bot.connect()
bot.start()
while True:
time.sleep(60) # keep the main thread alive