From 0ae01fdfc3acedbf060aa8503bbc7bb87823e71e Mon Sep 17 00:00:00 2001 From: Eric Lay Date: Sun, 4 May 2025 20:03:19 -0500 Subject: [PATCH] Add main.py --- main.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 main.py diff --git a/main.py b/main.py new file mode 100644 index 0000000..8e0d856 --- /dev/null +++ b/main.py @@ -0,0 +1,10 @@ +from irc_bot import bot +from web_app import appV3 +from config import FLASK_PORT + +# Do the damn deal +if __name__ == "__main__": + print("[MAIN] Starting IRC bot and web app locally...") + bot.connect() + bot.start() + appV3.run(host="0.0.0.0", port=FLASK_PORT)