its-matrix-bot/its_matrix_bot/__main__.py
Xiretza b4e76b75e4 Add open/close notifications
Uses only polling for now, websocket support to be added later.
2022-03-29 19:27:45 +02:00

17 lines
337 B
Python

import asyncio
import argparse
from . import ItSyndikatBot
from .config import Config
parser = argparse.ArgumentParser(description="IT-Syndikat matrix bot")
parser.add_argument(
"-c",
"--config",
help="path to the config file",
)
args = parser.parse_args()
bot = ItSyndikatBot(Config(args.config))
asyncio.run(bot.run())